{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 主题：教育经费及收入差距对教育需求造成的影响。\n",
    "\n",
    "## 使用pandas对数据进行分析处理：\n",
    "- 读取数据集\n",
    "- 数据的分类整合\n",
    "- 数据可视化交互查看对比\n",
    "## 数据来源：\n",
    "- 艾瑞网 \n",
    "- 中国国家统计局 \n",
    "- 世界银行\n",
    "- 北京大学中国教育财政科学研究所\n",
    "- CHFS"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 导入模块及数据\n",
    "\n",
    "import pandas as pd\n",
    "a = pd.read_csv('教育经费-分省年度数据.csv',encoding=\"unicode_escape\")\n",
    "a = pd.read_csv('教育经费-分省年度数据.csv',encoding=\"utf-8\")\n",
    "\n",
    "b = pd.read_csv('高等教育分省年度数据.csv',encoding=\"unicode_escape\")\n",
    "\n",
    "b = pd.read_csv('高等教育分省年度数据.csv',encoding=\"utf-8\")\n",
    "\n",
    "c = pd.read_csv('居民人均可支配收入分省年度数据.csv')\n",
    "\n",
    "d = pd.read_csv('高中分省年度数据.csv',encoding=\"unicode_escape\")\n",
    "\n",
    "d = pd.read_csv('高中分省年度数据.csv',encoding=\"utf-8\")\n",
    "\n",
    "e = pd.read_csv('2017分省受教育情况.csv')\n",
    "\n",
    "f = pd.read_csv('城乡划分家庭校内外支出占比（小学）.csv')\n",
    "\n",
    "g = pd.read_csv('地区划分家庭教育支出水平（义务教育阶段） .csv')\n",
    "\n",
    "h = pd.read_csv('城农划分家庭教育支出水平.csv')\n",
    "\n",
    "x = pd.read_csv('阶段划分家庭校内外支出占比.csv')\n",
    "\n",
    "j = pd.read_csv('全国中小学生学科类校外培训参与率.csv')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "教育经费-分省年度数据\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>地区</th>\n",
       "      <th>2017</th>\n",
       "      <th>2016</th>\n",
       "      <th>2015</th>\n",
       "      <th>2014</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>北京</td>\n",
       "      <td>12512746</td>\n",
       "      <td>11934724</td>\n",
       "      <td>11171250</td>\n",
       "      <td>10937374</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>天津</td>\n",
       "      <td>5850624</td>\n",
       "      <td>5365129</td>\n",
       "      <td>5605736</td>\n",
       "      <td>6326265</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>河北</td>\n",
       "      <td>15938479</td>\n",
       "      <td>14203834</td>\n",
       "      <td>12861641</td>\n",
       "      <td>10861672</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>山西</td>\n",
       "      <td>8533662</td>\n",
       "      <td>7942196</td>\n",
       "      <td>8442363</td>\n",
       "      <td>7036233</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>内蒙古</td>\n",
       "      <td>7601337</td>\n",
       "      <td>7624806</td>\n",
       "      <td>7072130</td>\n",
       "      <td>6393778</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>辽宁</td>\n",
       "      <td>9651893</td>\n",
       "      <td>9206907</td>\n",
       "      <td>8781171</td>\n",
       "      <td>8700533</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>吉林</td>\n",
       "      <td>6586685</td>\n",
       "      <td>6439837</td>\n",
       "      <td>5975239</td>\n",
       "      <td>5353180</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>黑龙江</td>\n",
       "      <td>7545432</td>\n",
       "      <td>7336607</td>\n",
       "      <td>7040039</td>\n",
       "      <td>6278812</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>上海</td>\n",
       "      <td>12104556</td>\n",
       "      <td>11218946</td>\n",
       "      <td>10131153</td>\n",
       "      <td>9892212</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>江苏</td>\n",
       "      <td>25960645</td>\n",
       "      <td>24020855</td>\n",
       "      <td>22463773</td>\n",
       "      <td>20800931</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>浙江</td>\n",
       "      <td>21327866</td>\n",
       "      <td>18908104</td>\n",
       "      <td>17568215</td>\n",
       "      <td>16079755</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>安徽</td>\n",
       "      <td>13751567</td>\n",
       "      <td>12357931</td>\n",
       "      <td>11578495</td>\n",
       "      <td>10457811</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>福建</td>\n",
       "      <td>11390975</td>\n",
       "      <td>10473975</td>\n",
       "      <td>10028329</td>\n",
       "      <td>8928771</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>江西</td>\n",
       "      <td>11717849</td>\n",
       "      <td>10468837</td>\n",
       "      <td>9732898</td>\n",
       "      <td>8930127</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>山东</td>\n",
       "      <td>23946021</td>\n",
       "      <td>22422970</td>\n",
       "      <td>20632259</td>\n",
       "      <td>18847752</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>河南</td>\n",
       "      <td>21546749</td>\n",
       "      <td>18902582</td>\n",
       "      <td>17411099</td>\n",
       "      <td>16385611</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>湖北</td>\n",
       "      <td>13821834</td>\n",
       "      <td>13009264</td>\n",
       "      <td>11435059</td>\n",
       "      <td>9874547</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>湖南</td>\n",
       "      <td>15165690</td>\n",
       "      <td>13781959</td>\n",
       "      <td>12223238</td>\n",
       "      <td>11285463</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>广东</td>\n",
       "      <td>38610331</td>\n",
       "      <td>33675376</td>\n",
       "      <td>30474906</td>\n",
       "      <td>27356552</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>广西</td>\n",
       "      <td>11891781</td>\n",
       "      <td>10914241</td>\n",
       "      <td>10111559</td>\n",
       "      <td>8586224</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>海南</td>\n",
       "      <td>3390271</td>\n",
       "      <td>3068767</td>\n",
       "      <td>2809962</td>\n",
       "      <td>2413904</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>重庆</td>\n",
       "      <td>9483526</td>\n",
       "      <td>8863208</td>\n",
       "      <td>7971003</td>\n",
       "      <td>6979973</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>四川</td>\n",
       "      <td>19274514</td>\n",
       "      <td>17620946</td>\n",
       "      <td>16409562</td>\n",
       "      <td>14508458</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>贵州</td>\n",
       "      <td>12488005</td>\n",
       "      <td>10335342</td>\n",
       "      <td>9277347</td>\n",
       "      <td>7700061</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>云南</td>\n",
       "      <td>13292088</td>\n",
       "      <td>11886446</td>\n",
       "      <td>10455388</td>\n",
       "      <td>9199396</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>西藏</td>\n",
       "      <td>2387658</td>\n",
       "      <td>1857714</td>\n",
       "      <td>1919434</td>\n",
       "      <td>1529504</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>陕西</td>\n",
       "      <td>10545862</td>\n",
       "      <td>10049114</td>\n",
       "      <td>9674438</td>\n",
       "      <td>9101672</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>甘肃</td>\n",
       "      <td>7087547</td>\n",
       "      <td>6706137</td>\n",
       "      <td>6134547</td>\n",
       "      <td>5181631</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>青海</td>\n",
       "      <td>2343469</td>\n",
       "      <td>2162973</td>\n",
       "      <td>2073501</td>\n",
       "      <td>1976886</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>宁夏</td>\n",
       "      <td>2288400</td>\n",
       "      <td>2072544</td>\n",
       "      <td>1963258</td>\n",
       "      <td>1697964</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>新疆</td>\n",
       "      <td>8462090</td>\n",
       "      <td>7823914</td>\n",
       "      <td>7132774</td>\n",
       "      <td>6349792</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     地区      2017      2016      2015      2014\n",
       "0    北京  12512746  11934724  11171250  10937374\n",
       "1    天津   5850624   5365129   5605736   6326265\n",
       "2    河北  15938479  14203834  12861641  10861672\n",
       "3    山西   8533662   7942196   8442363   7036233\n",
       "4   内蒙古   7601337   7624806   7072130   6393778\n",
       "5    辽宁   9651893   9206907   8781171   8700533\n",
       "6    吉林   6586685   6439837   5975239   5353180\n",
       "7   黑龙江   7545432   7336607   7040039   6278812\n",
       "8    上海  12104556  11218946  10131153   9892212\n",
       "9    江苏  25960645  24020855  22463773  20800931\n",
       "10   浙江  21327866  18908104  17568215  16079755\n",
       "11   安徽  13751567  12357931  11578495  10457811\n",
       "12   福建  11390975  10473975  10028329   8928771\n",
       "13   江西  11717849  10468837   9732898   8930127\n",
       "14   山东  23946021  22422970  20632259  18847752\n",
       "15   河南  21546749  18902582  17411099  16385611\n",
       "16   湖北  13821834  13009264  11435059   9874547\n",
       "17   湖南  15165690  13781959  12223238  11285463\n",
       "18   广东  38610331  33675376  30474906  27356552\n",
       "19   广西  11891781  10914241  10111559   8586224\n",
       "20   海南   3390271   3068767   2809962   2413904\n",
       "21   重庆   9483526   8863208   7971003   6979973\n",
       "22   四川  19274514  17620946  16409562  14508458\n",
       "23   贵州  12488005  10335342   9277347   7700061\n",
       "24   云南  13292088  11886446  10455388   9199396\n",
       "25   西藏   2387658   1857714   1919434   1529504\n",
       "26   陕西  10545862  10049114   9674438   9101672\n",
       "27   甘肃   7087547   6706137   6134547   5181631\n",
       "28   青海   2343469   2162973   2073501   1976886\n",
       "29   宁夏   2288400   2072544   1963258   1697964\n",
       "30   新疆   8462090   7823914   7132774   6349792"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 查看表格数据\n",
    "a = pd.read_csv(\"教育经费-分省年度数据.csv\",encoding=\"UTF-8\")\n",
    "print(\"教育经费-分省年度数据\")\n",
    "a"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 以地图的形式查看历年分省教育经费全国的分布情况"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "ayear = a.columns.values\n",
    "a0 = ayear.tolist()\n",
    "del a0[0:1]\n",
    "# del a0[1:2]\n",
    "a1 =list(a.loc[0].values)\n",
    "del a1[0:1]\n",
    "\n",
    "for i in range(2014, 2017):\n",
    "    list(zip(list(a.地区),list(a[\"{}\".format(i)])))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'china':'https://assets.pyecharts.org/assets/maps/china'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"29c653589e8543debbf57d502416a5a7\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'china'], function(echarts) {\n",
       "                var chart_29c653589e8543debbf57d502416a5a7 = echarts.init(\n",
       "                    document.getElementById('29c653589e8543debbf57d502416a5a7'), 'white', {renderer: 'canvas'});\n",
       "                var option_29c653589e8543debbf57d502416a5a7 = {\n",
       "    \"baseOption\": {\n",
       "        \"series\": [\n",
       "            {\n",
       "                \"type\": \"map\",\n",
       "                \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\",\n",
       "                \"label\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"top\",\n",
       "                    \"margin\": 8\n",
       "                },\n",
       "                \"mapType\": \"china\",\n",
       "                \"data\": [\n",
       "                    {\n",
       "                        \"name\": \"\\u5317\\u4eac\",\n",
       "                        \"value\": 12512746\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5929\\u6d25\",\n",
       "                        \"value\": 5850624\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6cb3\\u5317\",\n",
       "                        \"value\": 15938479\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5c71\\u897f\",\n",
       "                        \"value\": 8533662\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                        \"value\": 7601337\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u8fbd\\u5b81\",\n",
       "                        \"value\": 9651893\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5409\\u6797\",\n",
       "                        \"value\": 6586685\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                        \"value\": 7545432\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u4e0a\\u6d77\",\n",
       "                        \"value\": 12104556\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6c5f\\u82cf\",\n",
       "                        \"value\": 25960645\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6d59\\u6c5f\",\n",
       "                        \"value\": 21327866\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5b89\\u5fbd\",\n",
       "                        \"value\": 13751567\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u798f\\u5efa\",\n",
       "                        \"value\": 11390975\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6c5f\\u897f\",\n",
       "                        \"value\": 11717849\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5c71\\u4e1c\",\n",
       "                        \"value\": 23946021\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6cb3\\u5357\",\n",
       "                        \"value\": 21546749\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6e56\\u5317\",\n",
       "                        \"value\": 13821834\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6e56\\u5357\",\n",
       "                        \"value\": 15165690\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                        \"value\": 38610331\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5e7f\\u897f\",\n",
       "                        \"value\": 11891781\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6d77\\u5357\",\n",
       "                        \"value\": 3390271\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u91cd\\u5e86\",\n",
       "                        \"value\": 9483526\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u56db\\u5ddd\",\n",
       "                        \"value\": 19274514\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u8d35\\u5dde\",\n",
       "                        \"value\": 12488005\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u4e91\\u5357\",\n",
       "                        \"value\": 13292088\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u897f\\u85cf\",\n",
       "                        \"value\": 2387658\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u9655\\u897f\",\n",
       "                        \"value\": 10545862\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u7518\\u8083\",\n",
       "                        \"value\": 7087547\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u9752\\u6d77\",\n",
       "                        \"value\": 2343469\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5b81\\u590f\",\n",
       "                        \"value\": 2288400\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u65b0\\u7586\",\n",
       "                        \"value\": 8462090\n",
       "                    }\n",
       "                ],\n",
       "                \"roam\": true,\n",
       "                \"aspectScale\": 0.75,\n",
       "                \"nameProperty\": \"name\",\n",
       "                \"selectedMode\": false,\n",
       "                \"zoom\": 1,\n",
       "                \"mapValueCalculation\": \"sum\",\n",
       "                \"showLegendSymbol\": false,\n",
       "                \"emphasis\": {}\n",
       "            }\n",
       "        ],\n",
       "        \"timeline\": {\n",
       "            \"axisType\": \"category\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"autoPlay\": false,\n",
       "            \"controlPosition\": \"left\",\n",
       "            \"loop\": true,\n",
       "            \"rewind\": false,\n",
       "            \"show\": true,\n",
       "            \"inverse\": false,\n",
       "            \"bottom\": \"-5px\",\n",
       "            \"data\": [\n",
       "                \"2014\\u5e74\",\n",
       "                \"2015\\u5e74\",\n",
       "                \"2016\\u5e74\",\n",
       "                \"2017\\u5e74\"\n",
       "            ]\n",
       "        },\n",
       "        \"visualMap\": {\n",
       "            \"show\": true,\n",
       "            \"type\": \"continuous\",\n",
       "            \"min\": 1000000,\n",
       "            \"max\": 30000000,\n",
       "            \"inRange\": {\n",
       "                \"color\": [\n",
       "                    \"#50a3ba\",\n",
       "                    \"#eac763\",\n",
       "                    \"#d94e5d\"\n",
       "                ]\n",
       "            },\n",
       "            \"calculable\": true,\n",
       "            \"inverse\": false,\n",
       "            \"splitNumber\": 5,\n",
       "            \"orient\": \"vertical\",\n",
       "            \"showLabel\": true,\n",
       "            \"itemWidth\": 20,\n",
       "            \"itemHeight\": 140,\n",
       "            \"borderWidth\": 0\n",
       "        }\n",
       "    },\n",
       "    \"options\": [\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 10937374\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 6326265\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 10861672\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 7036233\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 6393778\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 8700533\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 5353180\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 6278812\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 9892212\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 20800931\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 16079755\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 10457811\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 8928771\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 8930127\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 18847752\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 16385611\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 9874547\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 11285463\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 27356552\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 8586224\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 2413904\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 6979973\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 14508458\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 7700061\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 9199396\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 1529504\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 9101672\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 5181631\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 1976886\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 1697964\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 6349792\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2014\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1000000,\n",
       "                \"max\": 30000000,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 11171250\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 5605736\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 12861641\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 8442363\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 7072130\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 8781171\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 5975239\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 7040039\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 10131153\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 22463773\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 17568215\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 11578495\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 10028329\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 9732898\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 20632259\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 17411099\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 11435059\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 12223238\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 30474906\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 10111559\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 2809962\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 7971003\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 16409562\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 9277347\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 10455388\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 1919434\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 9674438\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 6134547\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 2073501\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 1963258\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 7132774\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2015\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1000000,\n",
       "                \"max\": 30000000,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 11934724\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 5365129\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 14203834\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 7942196\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 7624806\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 9206907\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 6439837\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 7336607\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 11218946\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 24020855\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 18908104\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 12357931\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 10473975\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 10468837\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 22422970\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 18902582\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 13009264\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 13781959\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 33675376\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 10914241\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 3068767\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 8863208\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 17620946\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 10335342\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 11886446\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 1857714\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 10049114\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 6706137\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 2162973\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 2072544\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 7823914\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2016\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1000000,\n",
       "                \"max\": 30000000,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 12512746\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 5850624\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 15938479\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 8533662\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 7601337\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 9651893\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 6586685\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 7545432\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 12104556\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 25960645\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 21327866\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 13751567\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 11390975\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 11717849\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 23946021\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 21546749\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 13821834\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 15165690\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 38610331\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 11891781\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 3390271\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 9483526\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 19274514\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 12488005\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 13292088\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 2387658\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 10545862\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 7087547\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 2343469\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 2288400\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 8462090\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2017\\u5e74\\u5206\\u7701\\u6559\\u80b2\\u7ecf\\u8d39\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1000000,\n",
       "                \"max\": 30000000,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        }\n",
       "    ]\n",
       "};\n",
       "                chart_29c653589e8543debbf57d502416a5a7.setOption(option_29c653589e8543debbf57d502416a5a7);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x1fbe2e30910>"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts.charts import Geo\n",
    "from pyecharts import options as opts\n",
    "from pyecharts.globals import ChartType, SymbolType,ThemeType\n",
    "from pyecharts.charts import Tab,Line,Map,Timeline,Grid,Scatter\n",
    "def timeline_map() -> Timeline:\n",
    "    tl = Timeline()\n",
    "    for i in range(2014, 2018):\n",
    "        map0 = (\n",
    "            Map()\n",
    "            .add(\n",
    "                \"历年分省教育经费\",list(zip(list(a.地区),list(a[\"{}\".format(i)]))),\"china\",is_map_symbol_show = False\n",
    "            )\n",
    "            .set_global_opts(\n",
    "                title_opts=opts.TitleOpts(title=\"{}年分省教育经费\".format(i),subtitle=\"\"),\n",
    "                visualmap_opts=opts.VisualMapOpts(min_= 1000000,max_=30000000),\n",
    "            \n",
    "            )\n",
    "        )\n",
    "        tl.add(map0,\"{}年\".format(i))\n",
    "    return tl\n",
    "timeline_map().render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "通过图表，我们可以很明显的看到中国东部以及东北部地区（到北京），这两个地区的教育经费每年都增长不少，并且本身基数并不低，中部地区处于一个正常的水平，介于两者之间，但是西部地区除了四川外，像新疆、青海只有四川的八分之一。北部地区如，内蒙古、黑龙江、吉林、辽宁教育经费投入甚少。其中，环顾整个中国，经济大省或者直辖市的教育经费投入巨大，尤其是沿海地区，拥有更多的教育经费。教育经费的增加，有利于优质教育资源的聚集。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 以地图的形式历年分省高等教育每十万人人数"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "byear = b.columns.values\n",
    "b0 = byear.tolist()\n",
    "del b0[0:1]\n",
    "\n",
    "b1 =list(b.loc[0].values)\n",
    "del b1[0:1]\n",
    "\n",
    "for i in range(2014, 2018):\n",
    "    list(zip(list(b.地区),list(b[\"{}\".format(i)])))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'china':'https://assets.pyecharts.org/assets/maps/china'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"a9285703034e4362b4493b64f0bb1fa2\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'china'], function(echarts) {\n",
       "                var chart_a9285703034e4362b4493b64f0bb1fa2 = echarts.init(\n",
       "                    document.getElementById('a9285703034e4362b4493b64f0bb1fa2'), 'white', {renderer: 'canvas'});\n",
       "                var option_a9285703034e4362b4493b64f0bb1fa2 = {\n",
       "    \"baseOption\": {\n",
       "        \"series\": [\n",
       "            {\n",
       "                \"type\": \"map\",\n",
       "                \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                \"label\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"top\",\n",
       "                    \"margin\": 8\n",
       "                },\n",
       "                \"mapType\": \"china\",\n",
       "                \"data\": [\n",
       "                    {\n",
       "                        \"name\": \"\\u5317\\u4eac\",\n",
       "                        \"value\": 5268\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5929\\u6d25\",\n",
       "                        \"value\": 4150\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6cb3\\u5317\",\n",
       "                        \"value\": 2457\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5c71\\u897f\",\n",
       "                        \"value\": 2383\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                        \"value\": 1984\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u8fbd\\u5b81\",\n",
       "                        \"value\": 2866\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5409\\u6797\",\n",
       "                        \"value\": 3131\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                        \"value\": 2405\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u4e0a\\u6d77\",\n",
       "                        \"value\": 3517\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6c5f\\u82cf\",\n",
       "                        \"value\": 3143\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6d59\\u6c5f\",\n",
       "                        \"value\": 2370\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5b89\\u5fbd\",\n",
       "                        \"value\": 2245\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u798f\\u5efa\",\n",
       "                        \"value\": 2355\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6c5f\\u897f\",\n",
       "                        \"value\": 2771\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5c71\\u4e1c\",\n",
       "                        \"value\": 2588\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6cb3\\u5357\",\n",
       "                        \"value\": 2653\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6e56\\u5317\",\n",
       "                        \"value\": 3088\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6e56\\u5357\",\n",
       "                        \"value\": 2610\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                        \"value\": 2542\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5e7f\\u897f\",\n",
       "                        \"value\": 2602\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6d77\\u5357\",\n",
       "                        \"value\": 2305\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u91cd\\u5e86\",\n",
       "                        \"value\": 3081\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u56db\\u5ddd\",\n",
       "                        \"value\": 2409\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u8d35\\u5dde\",\n",
       "                        \"value\": 2254\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u4e91\\u5357\",\n",
       "                        \"value\": 2166\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u897f\\u85cf\",\n",
       "                        \"value\": 1616\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u9655\\u897f\",\n",
       "                        \"value\": 3562\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u7518\\u8083\",\n",
       "                        \"value\": 2258\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u9752\\u6d77\",\n",
       "                        \"value\": 1426\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5b81\\u590f\",\n",
       "                        \"value\": 2379\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u65b0\\u7586\",\n",
       "                        \"value\": 1954\n",
       "                    }\n",
       "                ],\n",
       "                \"roam\": true,\n",
       "                \"aspectScale\": 0.75,\n",
       "                \"nameProperty\": \"name\",\n",
       "                \"selectedMode\": false,\n",
       "                \"zoom\": 1,\n",
       "                \"mapValueCalculation\": \"sum\",\n",
       "                \"showLegendSymbol\": false,\n",
       "                \"emphasis\": {}\n",
       "            }\n",
       "        ],\n",
       "        \"timeline\": {\n",
       "            \"axisType\": \"category\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"autoPlay\": false,\n",
       "            \"controlPosition\": \"left\",\n",
       "            \"loop\": true,\n",
       "            \"rewind\": false,\n",
       "            \"show\": true,\n",
       "            \"inverse\": false,\n",
       "            \"bottom\": \"-5px\",\n",
       "            \"data\": [\n",
       "                \"2014\\u5e74\",\n",
       "                \"2015\\u5e74\",\n",
       "                \"2016\\u5e74\",\n",
       "                \"2017\\u5e74\",\n",
       "                \"2018\\u5e74\"\n",
       "            ]\n",
       "        },\n",
       "        \"visualMap\": {\n",
       "            \"show\": true,\n",
       "            \"type\": \"continuous\",\n",
       "            \"min\": 1200,\n",
       "            \"max\": 5200,\n",
       "            \"inRange\": {\n",
       "                \"color\": [\n",
       "                    \"#50a3ba\",\n",
       "                    \"#eac763\",\n",
       "                    \"#d94e5d\"\n",
       "                ]\n",
       "            },\n",
       "            \"calculable\": true,\n",
       "            \"inverse\": false,\n",
       "            \"splitNumber\": 5,\n",
       "            \"orient\": \"vertical\",\n",
       "            \"showLabel\": true,\n",
       "            \"itemWidth\": 20,\n",
       "            \"itemHeight\": 140,\n",
       "            \"borderWidth\": 0\n",
       "        }\n",
       "    },\n",
       "    \"options\": [\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 5429\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 4283\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2098\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 2519\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 2156\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2933\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 3168\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2555\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 3348\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 2858\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2408\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 2245\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 2513\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 2527\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 2421\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 2203\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 3121\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2160\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 2356\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 2052\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 2317\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3017\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 2244\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 1690\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 1731\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 1676\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 3652\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 2219\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 1220\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 2255\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 1749\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2014\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1200,\n",
       "                \"max\": 5200,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 5218\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 4185\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2141\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 2504\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 2035\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2876\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 3169\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2518\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 3330\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 2896\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2414\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 2309\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 2508\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 2654\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 2516\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 2293\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 3038\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2215\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 2434\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 2178\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 2290\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3071\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 2312\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 1819\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 1819\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 1766\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 3628\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 2194\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 1275\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 2244\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 1759\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2015\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1200,\n",
       "                \"max\": 5200,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 5028\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 4058\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2191\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 2439\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 1937\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2845\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 3048\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2427\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 3327\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 2937\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2355\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 2259\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 2438\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 2698\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 2620\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 2352\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 2950\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2251\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 2431\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 2279\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 2258\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3059\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 2314\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 2005\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 1889\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 1765\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 3540\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 2189\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 1319\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 2225\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 1780\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2016\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1200,\n",
       "                \"max\": 5200,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 5300\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 4072\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2328\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 2401\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 1969\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2859\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 3038\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2403\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 3498\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 3045\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2345\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 2250\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 2352\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 2676\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 2519\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 2455\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 3000\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2419\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 2454\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 2383\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 2261\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3084\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 2339\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 2129\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 1999\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 1678\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 3582\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 2217\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 1391\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 2278\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 1863\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2017\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1200,\n",
       "                \"max\": 5200,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 5268\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 4150\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2457\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 2383\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 1984\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2866\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 3131\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2405\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 3517\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 3143\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2370\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 2245\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 2355\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 2771\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 2588\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 2653\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 3088\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2610\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 2542\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 2602\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 2305\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3081\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 2409\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 2254\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 2166\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 1616\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 3562\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 2258\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 1426\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 2379\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 1954\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2018\\u5e74\\u5206\\u7701\\u9ad8\\u7b49\\u6559\\u80b2\\u6bcf\\u5341\\u4e07\\u4eba\\u4eba\\u6570\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1200,\n",
       "                \"max\": 5200,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        }\n",
       "    ]\n",
       "};\n",
       "                chart_a9285703034e4362b4493b64f0bb1fa2.setOption(option_a9285703034e4362b4493b64f0bb1fa2);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x1fbe19875e0>"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts.charts import Geo\n",
    "from pyecharts import options as opts\n",
    "from pyecharts.globals import ChartType, SymbolType,ThemeType\n",
    "from pyecharts.charts import Tab,Line,Map,Timeline,Grid,Scatter\n",
    "def timeline_map() -> Timeline:\n",
    "    tl = Timeline()\n",
    "    for i in range(2014, 2019):\n",
    "        map1 = (\n",
    "            Map()\n",
    "            .add(\n",
    "                \"历年分省高等教育每十万人人数\",list(zip(list(b.地区),list(b[\"{}\".format(i)]))),\"china\",is_map_symbol_show = False\n",
    "            )\n",
    "            .set_global_opts(\n",
    "                title_opts=opts.TitleOpts(title=\"{}年分省高等教育每十万人人数\".format(i),subtitle=\"\"),\n",
    "                visualmap_opts=opts.VisualMapOpts(min_= 1200,max_=5200),\n",
    "            \n",
    "            )\n",
    "        )\n",
    "        tl.add(map1,\"{}年\".format(i))\n",
    "    return tl\n",
    "timeline_map().render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "北京、天津、陕西、上海、吉林拥有着众多高等教育院校和学生，这五个地方，每十万人均有3000人以上正在接受高等教育，不计算人口总量因素，这从侧面反映出这些地区的高等教育较为完善，高等教育人才密度更高。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 历年分省每10万人高中在校生数(人)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'china':'https://assets.pyecharts.org/assets/maps/china'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"daf37b06c6284b1682a468048fc92264\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'china'], function(echarts) {\n",
       "                var chart_daf37b06c6284b1682a468048fc92264 = echarts.init(\n",
       "                    document.getElementById('daf37b06c6284b1682a468048fc92264'), 'white', {renderer: 'canvas'});\n",
       "                var option_daf37b06c6284b1682a468048fc92264 = {\n",
       "    \"baseOption\": {\n",
       "        \"series\": [\n",
       "            {\n",
       "                \"type\": \"map\",\n",
       "                \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                \"label\": {\n",
       "                    \"show\": true,\n",
       "                    \"position\": \"top\",\n",
       "                    \"margin\": 8\n",
       "                },\n",
       "                \"mapType\": \"china\",\n",
       "                \"data\": [\n",
       "                    {\n",
       "                        \"name\": \"\\u5317\\u4eac\",\n",
       "                        \"value\": 1151\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5929\\u6d25\",\n",
       "                        \"value\": 1752\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6cb3\\u5317\",\n",
       "                        \"value\": 2885\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5c71\\u897f\",\n",
       "                        \"value\": 2919\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                        \"value\": 2449\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u8fbd\\u5b81\",\n",
       "                        \"value\": 2195\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5409\\u6797\",\n",
       "                        \"value\": 2076\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                        \"value\": 2079\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u4e0a\\u6d77\",\n",
       "                        \"value\": 1082\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6c5f\\u82cf\",\n",
       "                        \"value\": 2323\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6d59\\u6c5f\",\n",
       "                        \"value\": 2581\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5b89\\u5fbd\",\n",
       "                        \"value\": 3065\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u798f\\u5efa\",\n",
       "                        \"value\": 2659\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6c5f\\u897f\",\n",
       "                        \"value\": 3242\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5c71\\u4e1c\",\n",
       "                        \"value\": 2723\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6cb3\\u5357\",\n",
       "                        \"value\": 3631\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6e56\\u5317\",\n",
       "                        \"value\": 2153\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6e56\\u5357\",\n",
       "                        \"value\": 2891\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                        \"value\": 2917\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5e7f\\u897f\",\n",
       "                        \"value\": 3756\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u6d77\\u5357\",\n",
       "                        \"value\": 3362\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u91cd\\u5e86\",\n",
       "                        \"value\": 3268\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u56db\\u5ddd\",\n",
       "                        \"value\": 2799\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u8d35\\u5dde\",\n",
       "                        \"value\": 4379\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u4e91\\u5357\",\n",
       "                        \"value\": 3147\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u897f\\u85cf\",\n",
       "                        \"value\": 2508\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u9655\\u897f\",\n",
       "                        \"value\": 2894\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u7518\\u8083\",\n",
       "                        \"value\": 2954\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u9752\\u6d77\",\n",
       "                        \"value\": 3697\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u5b81\\u590f\",\n",
       "                        \"value\": 3330\n",
       "                    },\n",
       "                    {\n",
       "                        \"name\": \"\\u65b0\\u7586\",\n",
       "                        \"value\": 3631\n",
       "                    }\n",
       "                ],\n",
       "                \"roam\": true,\n",
       "                \"aspectScale\": 0.75,\n",
       "                \"nameProperty\": \"name\",\n",
       "                \"selectedMode\": false,\n",
       "                \"zoom\": 1,\n",
       "                \"mapValueCalculation\": \"sum\",\n",
       "                \"showLegendSymbol\": false,\n",
       "                \"emphasis\": {}\n",
       "            }\n",
       "        ],\n",
       "        \"timeline\": {\n",
       "            \"axisType\": \"category\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"autoPlay\": false,\n",
       "            \"controlPosition\": \"left\",\n",
       "            \"loop\": true,\n",
       "            \"rewind\": false,\n",
       "            \"show\": true,\n",
       "            \"inverse\": false,\n",
       "            \"bottom\": \"-5px\",\n",
       "            \"data\": [\n",
       "                \"2014\\u5e74\",\n",
       "                \"2015\\u5e74\",\n",
       "                \"2016\\u5e74\",\n",
       "                \"2017\\u5e74\",\n",
       "                \"2018\\u5e74\"\n",
       "            ]\n",
       "        },\n",
       "        \"visualMap\": {\n",
       "            \"show\": true,\n",
       "            \"type\": \"continuous\",\n",
       "            \"min\": 1000,\n",
       "            \"max\": 4000,\n",
       "            \"inRange\": {\n",
       "                \"color\": [\n",
       "                    \"#50a3ba\",\n",
       "                    \"#eac763\",\n",
       "                    \"#d94e5d\"\n",
       "                ]\n",
       "            },\n",
       "            \"calculable\": true,\n",
       "            \"inverse\": false,\n",
       "            \"splitNumber\": 5,\n",
       "            \"orient\": \"vertical\",\n",
       "            \"showLabel\": true,\n",
       "            \"itemWidth\": 20,\n",
       "            \"itemHeight\": 140,\n",
       "            \"borderWidth\": 0\n",
       "        }\n",
       "    },\n",
       "    \"options\": [\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 1630\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 1924\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2579\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 3686\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 2941\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2427\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 2207\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2381\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 1197\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 2542\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2726\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 3583\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 3030\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 3286\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 3099\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 3480\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 2393\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2712\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 3802\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 3676\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 3648\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3849\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 3312\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 4422\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 2897\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 2329\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 3598\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 3755\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 3651\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 3772\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 3277\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2014\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1000,\n",
       "                \"max\": 4000,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 1426\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 1866\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2555\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 3486\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 2779\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2334\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 2111\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2313\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 1149\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 2407\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2647\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 3318\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 2889\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 3308\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 2941\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 3454\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 2294\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2720\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 3589\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 3611\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 3433\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3702\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 3162\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 4683\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 2897\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 2319\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 3320\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 3517\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 3659\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 3672\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 3385\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2015\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1000,\n",
       "                \"max\": 4000,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 1321\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 1851\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2657\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 3270\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 2669\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2297\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 2040\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2193\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 1120\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 2318\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2589\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 3145\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 2787\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 3125\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 2837\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 3458\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 2239\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2787\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 3344\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 3602\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 3371\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3461\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 3025\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 4583\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 2965\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 2316\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 3101\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 3295\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 3637\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 3489\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 3565\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2016\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1000,\n",
       "                \"max\": 4000,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 1245\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 1820\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2822\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 3119\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 2559\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2303\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 2123\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2158\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 1099\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 2316\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2635\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 3123\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 2717\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 3150\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 2796\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 3551\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 2156\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2905\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 3128\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 3686\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 3402\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3305\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 2889\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 4502\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 3094\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 2358\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 3076\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 3098\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 3647\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 3412\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 3712\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2017\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1000,\n",
       "                \"max\": 4000,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        },\n",
       "        {\n",
       "            \"legend\": [\n",
       "                {\n",
       "                    \"data\": [\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\"\n",
       "                    ],\n",
       "                    \"selected\": {\n",
       "                        \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\": true\n",
       "                    },\n",
       "                    \"show\": true,\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10,\n",
       "                    \"itemWidth\": 25,\n",
       "                    \"itemHeight\": 14\n",
       "                }\n",
       "            ],\n",
       "            \"series\": [\n",
       "                {\n",
       "                    \"type\": \"map\",\n",
       "                    \"name\": \"\\u5386\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"label\": {\n",
       "                        \"show\": true,\n",
       "                        \"position\": \"top\",\n",
       "                        \"margin\": 8\n",
       "                    },\n",
       "                    \"mapType\": \"china\",\n",
       "                    \"data\": [\n",
       "                        {\n",
       "                            \"name\": \"\\u5317\\u4eac\",\n",
       "                            \"value\": 1151\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5929\\u6d25\",\n",
       "                            \"value\": 1752\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5317\",\n",
       "                            \"value\": 2885\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u897f\",\n",
       "                            \"value\": 2919\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                            \"value\": 2449\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8fbd\\u5b81\",\n",
       "                            \"value\": 2195\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5409\\u6797\",\n",
       "                            \"value\": 2076\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                            \"value\": 2079\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e0a\\u6d77\",\n",
       "                            \"value\": 1082\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u82cf\",\n",
       "                            \"value\": 2323\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d59\\u6c5f\",\n",
       "                            \"value\": 2581\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b89\\u5fbd\",\n",
       "                            \"value\": 3065\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u798f\\u5efa\",\n",
       "                            \"value\": 2659\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6c5f\\u897f\",\n",
       "                            \"value\": 3242\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5c71\\u4e1c\",\n",
       "                            \"value\": 2723\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6cb3\\u5357\",\n",
       "                            \"value\": 3631\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5317\",\n",
       "                            \"value\": 2153\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6e56\\u5357\",\n",
       "                            \"value\": 2891\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                            \"value\": 2917\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5e7f\\u897f\",\n",
       "                            \"value\": 3756\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u6d77\\u5357\",\n",
       "                            \"value\": 3362\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u91cd\\u5e86\",\n",
       "                            \"value\": 3268\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u56db\\u5ddd\",\n",
       "                            \"value\": 2799\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u8d35\\u5dde\",\n",
       "                            \"value\": 4379\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u4e91\\u5357\",\n",
       "                            \"value\": 3147\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u897f\\u85cf\",\n",
       "                            \"value\": 2508\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9655\\u897f\",\n",
       "                            \"value\": 2894\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u7518\\u8083\",\n",
       "                            \"value\": 2954\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u9752\\u6d77\",\n",
       "                            \"value\": 3697\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u5b81\\u590f\",\n",
       "                            \"value\": 3330\n",
       "                        },\n",
       "                        {\n",
       "                            \"name\": \"\\u65b0\\u7586\",\n",
       "                            \"value\": 3631\n",
       "                        }\n",
       "                    ],\n",
       "                    \"roam\": true,\n",
       "                    \"aspectScale\": 0.75,\n",
       "                    \"nameProperty\": \"name\",\n",
       "                    \"selectedMode\": false,\n",
       "                    \"zoom\": 1,\n",
       "                    \"mapValueCalculation\": \"sum\",\n",
       "                    \"showLegendSymbol\": false,\n",
       "                    \"emphasis\": {}\n",
       "                }\n",
       "            ],\n",
       "            \"title\": [\n",
       "                {\n",
       "                    \"text\": \"2018\\u5e74\\u5206\\u7701\\u6bcf10\\u4e07\\u4eba\\u9ad8\\u4e2d\\u5728\\u6821\\u751f\\u6570(\\u4eba)\",\n",
       "                    \"padding\": 5,\n",
       "                    \"itemGap\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"tooltip\": {\n",
       "                \"show\": true,\n",
       "                \"trigger\": \"item\",\n",
       "                \"triggerOn\": \"mousemove|click\",\n",
       "                \"axisPointer\": {\n",
       "                    \"type\": \"line\"\n",
       "                },\n",
       "                \"showContent\": true,\n",
       "                \"alwaysShowContent\": false,\n",
       "                \"showDelay\": 0,\n",
       "                \"hideDelay\": 100,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 14\n",
       "                },\n",
       "                \"borderWidth\": 0,\n",
       "                \"padding\": 5\n",
       "            },\n",
       "            \"visualMap\": {\n",
       "                \"show\": true,\n",
       "                \"type\": \"continuous\",\n",
       "                \"min\": 1000,\n",
       "                \"max\": 4000,\n",
       "                \"inRange\": {\n",
       "                    \"color\": [\n",
       "                        \"#50a3ba\",\n",
       "                        \"#eac763\",\n",
       "                        \"#d94e5d\"\n",
       "                    ]\n",
       "                },\n",
       "                \"calculable\": true,\n",
       "                \"inverse\": false,\n",
       "                \"splitNumber\": 5,\n",
       "                \"orient\": \"vertical\",\n",
       "                \"showLabel\": true,\n",
       "                \"itemWidth\": 20,\n",
       "                \"itemHeight\": 140,\n",
       "                \"borderWidth\": 0\n",
       "            },\n",
       "            \"color\": [\n",
       "                \"#c23531\",\n",
       "                \"#2f4554\",\n",
       "                \"#61a0a8\",\n",
       "                \"#d48265\",\n",
       "                \"#749f83\",\n",
       "                \"#ca8622\",\n",
       "                \"#bda29a\",\n",
       "                \"#6e7074\",\n",
       "                \"#546570\",\n",
       "                \"#c4ccd3\",\n",
       "                \"#f05b72\",\n",
       "                \"#ef5b9c\",\n",
       "                \"#f47920\",\n",
       "                \"#905a3d\",\n",
       "                \"#fab27b\",\n",
       "                \"#2a5caa\",\n",
       "                \"#444693\",\n",
       "                \"#726930\",\n",
       "                \"#b2d235\",\n",
       "                \"#6d8346\",\n",
       "                \"#ac6767\",\n",
       "                \"#1d953f\",\n",
       "                \"#6950a1\",\n",
       "                \"#918597\"\n",
       "            ]\n",
       "        }\n",
       "    ]\n",
       "};\n",
       "                chart_daf37b06c6284b1682a468048fc92264.setOption(option_daf37b06c6284b1682a468048fc92264);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x1fbf2f8d340>"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dyear = d.columns.values\n",
    "d0 = dyear.tolist()\n",
    "del d0[0:1]\n",
    "d1 =list(d.loc[0].values)\n",
    "del d1[0:1]\n",
    "for i in range(2014, 2018):\n",
    "    list(zip(list(d.地区),list(d[\"{}\".format(i)])))\n",
    "\n",
    "from pyecharts.charts import Geo\n",
    "from pyecharts import options as opts\n",
    "from pyecharts.globals import ChartType, SymbolType,ThemeType\n",
    "from pyecharts.charts import Tab,Line,Map,Timeline,Grid,Scatter\n",
    "def timeline_map() -> Timeline:\n",
    "    tl = Timeline()\n",
    "    for i in range(2014, 2019):\n",
    "        map1 = (\n",
    "            Map()\n",
    "            .add(\n",
    "                \"历年分省每10万人高中在校生数(人)\",list(zip(list(d.地区),list(d[\"{}\".format(i)]))),\"china\",is_map_symbol_show = False\n",
    "            )\n",
    "            .set_global_opts(\n",
    "                title_opts=opts.TitleOpts(title=\"{}年分省每10万人高中在校生数(人)\".format(i),subtitle=\"\"),\n",
    "                visualmap_opts=opts.VisualMapOpts(min_= 1000,max_=4000),\n",
    "            \n",
    "            )\n",
    "        )\n",
    "        tl.add(map1,\"{}年\".format(i))\n",
    "    return tl\n",
    "timeline_map().render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "教育经费较少的地区，反而比教育经费多的地区具有更多的高中在校生数（每10万人）。随着时间的推移，高中在校生密度大的地区开始向西部和南部地区转移，呈现中部向四周扩散的趋势。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 分省居民人均可支配收入"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "居民人均可支配收入分省年度数据\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>地区</th>\n",
       "      <th>2018</th>\n",
       "      <th>2017</th>\n",
       "      <th>2016</th>\n",
       "      <th>2015</th>\n",
       "      <th>2014</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>北京</td>\n",
       "      <td>62361.22</td>\n",
       "      <td>57229.83</td>\n",
       "      <td>52530.38</td>\n",
       "      <td>48457.99</td>\n",
       "      <td>44488.57</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>天津</td>\n",
       "      <td>39506.15</td>\n",
       "      <td>37022.33</td>\n",
       "      <td>34074.46</td>\n",
       "      <td>31291.36</td>\n",
       "      <td>28832.29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>河北</td>\n",
       "      <td>23445.65</td>\n",
       "      <td>21484.13</td>\n",
       "      <td>19725.42</td>\n",
       "      <td>18118.09</td>\n",
       "      <td>16647.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>山西</td>\n",
       "      <td>21990.14</td>\n",
       "      <td>20420.01</td>\n",
       "      <td>19048.88</td>\n",
       "      <td>17853.67</td>\n",
       "      <td>16538.32</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>内蒙古</td>\n",
       "      <td>28375.65</td>\n",
       "      <td>26212.23</td>\n",
       "      <td>24126.64</td>\n",
       "      <td>22310.09</td>\n",
       "      <td>20559.34</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>辽宁</td>\n",
       "      <td>29701.45</td>\n",
       "      <td>27835.44</td>\n",
       "      <td>26039.70</td>\n",
       "      <td>24575.58</td>\n",
       "      <td>22820.15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>吉林</td>\n",
       "      <td>22798.37</td>\n",
       "      <td>21368.32</td>\n",
       "      <td>19966.99</td>\n",
       "      <td>18683.70</td>\n",
       "      <td>17520.39</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>黑龙江</td>\n",
       "      <td>22725.85</td>\n",
       "      <td>21205.79</td>\n",
       "      <td>19838.50</td>\n",
       "      <td>18592.65</td>\n",
       "      <td>17404.39</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>上海</td>\n",
       "      <td>64182.65</td>\n",
       "      <td>58987.96</td>\n",
       "      <td>54305.35</td>\n",
       "      <td>49867.17</td>\n",
       "      <td>45965.83</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>江苏</td>\n",
       "      <td>38095.79</td>\n",
       "      <td>35024.09</td>\n",
       "      <td>32070.10</td>\n",
       "      <td>29538.85</td>\n",
       "      <td>27172.77</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>浙江</td>\n",
       "      <td>45839.84</td>\n",
       "      <td>42045.69</td>\n",
       "      <td>38529.00</td>\n",
       "      <td>35537.09</td>\n",
       "      <td>32657.57</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>安徽</td>\n",
       "      <td>23983.58</td>\n",
       "      <td>21863.30</td>\n",
       "      <td>19998.10</td>\n",
       "      <td>18362.57</td>\n",
       "      <td>16795.52</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>福建</td>\n",
       "      <td>32643.93</td>\n",
       "      <td>30047.75</td>\n",
       "      <td>27607.93</td>\n",
       "      <td>25404.36</td>\n",
       "      <td>23330.85</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>江西</td>\n",
       "      <td>24079.68</td>\n",
       "      <td>22031.45</td>\n",
       "      <td>20109.56</td>\n",
       "      <td>18437.11</td>\n",
       "      <td>16734.17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>山东</td>\n",
       "      <td>29204.61</td>\n",
       "      <td>26929.94</td>\n",
       "      <td>24685.27</td>\n",
       "      <td>22703.19</td>\n",
       "      <td>20864.21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>河南</td>\n",
       "      <td>21963.54</td>\n",
       "      <td>20170.03</td>\n",
       "      <td>18443.08</td>\n",
       "      <td>17124.75</td>\n",
       "      <td>15695.18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>湖北</td>\n",
       "      <td>25814.54</td>\n",
       "      <td>23757.17</td>\n",
       "      <td>21786.64</td>\n",
       "      <td>20025.56</td>\n",
       "      <td>18283.23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>湖南</td>\n",
       "      <td>25240.75</td>\n",
       "      <td>23102.71</td>\n",
       "      <td>21114.79</td>\n",
       "      <td>19317.49</td>\n",
       "      <td>17621.74</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>广东</td>\n",
       "      <td>35809.90</td>\n",
       "      <td>33003.29</td>\n",
       "      <td>30295.80</td>\n",
       "      <td>27858.86</td>\n",
       "      <td>25684.96</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>广西</td>\n",
       "      <td>21485.03</td>\n",
       "      <td>19904.76</td>\n",
       "      <td>18305.08</td>\n",
       "      <td>16873.42</td>\n",
       "      <td>15557.08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>海南</td>\n",
       "      <td>24579.04</td>\n",
       "      <td>22553.24</td>\n",
       "      <td>20653.44</td>\n",
       "      <td>18978.97</td>\n",
       "      <td>17476.46</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>重庆</td>\n",
       "      <td>26385.84</td>\n",
       "      <td>24152.99</td>\n",
       "      <td>22034.14</td>\n",
       "      <td>20110.11</td>\n",
       "      <td>18351.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>四川</td>\n",
       "      <td>22460.55</td>\n",
       "      <td>20579.82</td>\n",
       "      <td>18808.26</td>\n",
       "      <td>17220.96</td>\n",
       "      <td>15749.01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>贵州</td>\n",
       "      <td>18430.18</td>\n",
       "      <td>16703.65</td>\n",
       "      <td>15121.15</td>\n",
       "      <td>13696.61</td>\n",
       "      <td>12371.06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>云南</td>\n",
       "      <td>20084.19</td>\n",
       "      <td>18348.34</td>\n",
       "      <td>16719.90</td>\n",
       "      <td>15222.57</td>\n",
       "      <td>13772.21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>西藏</td>\n",
       "      <td>17286.06</td>\n",
       "      <td>15457.30</td>\n",
       "      <td>13639.24</td>\n",
       "      <td>12254.30</td>\n",
       "      <td>10730.22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>陕西</td>\n",
       "      <td>22528.26</td>\n",
       "      <td>20635.21</td>\n",
       "      <td>18873.74</td>\n",
       "      <td>17394.98</td>\n",
       "      <td>15836.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>甘肃</td>\n",
       "      <td>17488.39</td>\n",
       "      <td>16011.00</td>\n",
       "      <td>14670.31</td>\n",
       "      <td>13466.59</td>\n",
       "      <td>12184.71</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>青海</td>\n",
       "      <td>20757.26</td>\n",
       "      <td>19001.02</td>\n",
       "      <td>17301.76</td>\n",
       "      <td>15812.70</td>\n",
       "      <td>14373.98</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>宁夏</td>\n",
       "      <td>22400.42</td>\n",
       "      <td>20561.66</td>\n",
       "      <td>18832.28</td>\n",
       "      <td>17329.09</td>\n",
       "      <td>15906.78</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>新疆</td>\n",
       "      <td>21500.24</td>\n",
       "      <td>19975.10</td>\n",
       "      <td>18354.65</td>\n",
       "      <td>16859.11</td>\n",
       "      <td>15096.62</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     地区      2018      2017      2016      2015      2014\n",
       "0    北京  62361.22  57229.83  52530.38  48457.99  44488.57\n",
       "1    天津  39506.15  37022.33  34074.46  31291.36  28832.29\n",
       "2    河北  23445.65  21484.13  19725.42  18118.09  16647.40\n",
       "3    山西  21990.14  20420.01  19048.88  17853.67  16538.32\n",
       "4   内蒙古  28375.65  26212.23  24126.64  22310.09  20559.34\n",
       "5    辽宁  29701.45  27835.44  26039.70  24575.58  22820.15\n",
       "6    吉林  22798.37  21368.32  19966.99  18683.70  17520.39\n",
       "7   黑龙江  22725.85  21205.79  19838.50  18592.65  17404.39\n",
       "8    上海  64182.65  58987.96  54305.35  49867.17  45965.83\n",
       "9    江苏  38095.79  35024.09  32070.10  29538.85  27172.77\n",
       "10   浙江  45839.84  42045.69  38529.00  35537.09  32657.57\n",
       "11   安徽  23983.58  21863.30  19998.10  18362.57  16795.52\n",
       "12   福建  32643.93  30047.75  27607.93  25404.36  23330.85\n",
       "13   江西  24079.68  22031.45  20109.56  18437.11  16734.17\n",
       "14   山东  29204.61  26929.94  24685.27  22703.19  20864.21\n",
       "15   河南  21963.54  20170.03  18443.08  17124.75  15695.18\n",
       "16   湖北  25814.54  23757.17  21786.64  20025.56  18283.23\n",
       "17   湖南  25240.75  23102.71  21114.79  19317.49  17621.74\n",
       "18   广东  35809.90  33003.29  30295.80  27858.86  25684.96\n",
       "19   广西  21485.03  19904.76  18305.08  16873.42  15557.08\n",
       "20   海南  24579.04  22553.24  20653.44  18978.97  17476.46\n",
       "21   重庆  26385.84  24152.99  22034.14  20110.11  18351.90\n",
       "22   四川  22460.55  20579.82  18808.26  17220.96  15749.01\n",
       "23   贵州  18430.18  16703.65  15121.15  13696.61  12371.06\n",
       "24   云南  20084.19  18348.34  16719.90  15222.57  13772.21\n",
       "25   西藏  17286.06  15457.30  13639.24  12254.30  10730.22\n",
       "26   陕西  22528.26  20635.21  18873.74  17394.98  15836.75\n",
       "27   甘肃  17488.39  16011.00  14670.31  13466.59  12184.71\n",
       "28   青海  20757.26  19001.02  17301.76  15812.70  14373.98\n",
       "29   宁夏  22400.42  20561.66  18832.28  17329.09  15906.78\n",
       "30   新疆  21500.24  19975.10  18354.65  16859.11  15096.62"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 查看表格数据\n",
    "c = pd.read_csv(\"居民人均可支配收入分省年度数据.csv\",encoding=\"UTF-8\")\n",
    "print(\"居民人均可支配收入分省年度数据\")\n",
    "c"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林', '黑龙江', '上海', '江苏', '浙江', '安徽', '福建', '江西', '山东', '河南', '湖北', '湖南', '广东', '广西', '海南', '重庆', '四川', '贵州', '云南', '西藏', '陕西', '甘肃', '青海', '宁夏', '新疆']\n"
     ]
    }
   ],
   "source": [
    "print(list(c.地区))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [],
   "source": [
    "c2014 = c['2014'].tolist()\n",
    "c2015 = c['2015'].tolist()\n",
    "c2016 = c['2016'].tolist()\n",
    "c2017 = c['2017'].tolist()\n",
    "c2018 = c['2018'].tolist()\n",
    "cd = c.地区"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "        <script type=\"text/javascript\">\n",
       "        window.PlotlyConfig = {MathJaxConfig: 'local'};\n",
       "        if (window.MathJax) {MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}\n",
       "        if (typeof require !== 'undefined') {\n",
       "        require.undef(\"plotly\");\n",
       "        requirejs.config({\n",
       "            paths: {\n",
       "                'plotly': ['https://cdn.plot.ly/plotly-latest.min']\n",
       "            }\n",
       "        });\n",
       "        require(['plotly'], function(Plotly) {\n",
       "            window._Plotly = Plotly;\n",
       "        });\n",
       "        }\n",
       "        </script>\n",
       "        "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import chart_studio.plotly as py\n",
    "from plotly.offline import plot\n",
    "import cufflinks as cf\n",
    "import numpy as np\n",
    "import plotly\n",
    "py.sign_in('TIMER26', 'YO5SOU06UeJzHaBUKcGw')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2018</th>\n",
       "      <th>2017</th>\n",
       "      <th>2016</th>\n",
       "      <th>2015</th>\n",
       "      <th>2014</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>地区</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>北京</th>\n",
       "      <td>62361.22</td>\n",
       "      <td>57229.83</td>\n",
       "      <td>52530.38</td>\n",
       "      <td>48457.99</td>\n",
       "      <td>44488.57</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>天津</th>\n",
       "      <td>39506.15</td>\n",
       "      <td>37022.33</td>\n",
       "      <td>34074.46</td>\n",
       "      <td>31291.36</td>\n",
       "      <td>28832.29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>河北</th>\n",
       "      <td>23445.65</td>\n",
       "      <td>21484.13</td>\n",
       "      <td>19725.42</td>\n",
       "      <td>18118.09</td>\n",
       "      <td>16647.40</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>山西</th>\n",
       "      <td>21990.14</td>\n",
       "      <td>20420.01</td>\n",
       "      <td>19048.88</td>\n",
       "      <td>17853.67</td>\n",
       "      <td>16538.32</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>内蒙古</th>\n",
       "      <td>28375.65</td>\n",
       "      <td>26212.23</td>\n",
       "      <td>24126.64</td>\n",
       "      <td>22310.09</td>\n",
       "      <td>20559.34</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>辽宁</th>\n",
       "      <td>29701.45</td>\n",
       "      <td>27835.44</td>\n",
       "      <td>26039.70</td>\n",
       "      <td>24575.58</td>\n",
       "      <td>22820.15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>吉林</th>\n",
       "      <td>22798.37</td>\n",
       "      <td>21368.32</td>\n",
       "      <td>19966.99</td>\n",
       "      <td>18683.70</td>\n",
       "      <td>17520.39</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>黑龙江</th>\n",
       "      <td>22725.85</td>\n",
       "      <td>21205.79</td>\n",
       "      <td>19838.50</td>\n",
       "      <td>18592.65</td>\n",
       "      <td>17404.39</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>上海</th>\n",
       "      <td>64182.65</td>\n",
       "      <td>58987.96</td>\n",
       "      <td>54305.35</td>\n",
       "      <td>49867.17</td>\n",
       "      <td>45965.83</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>江苏</th>\n",
       "      <td>38095.79</td>\n",
       "      <td>35024.09</td>\n",
       "      <td>32070.10</td>\n",
       "      <td>29538.85</td>\n",
       "      <td>27172.77</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>浙江</th>\n",
       "      <td>45839.84</td>\n",
       "      <td>42045.69</td>\n",
       "      <td>38529.00</td>\n",
       "      <td>35537.09</td>\n",
       "      <td>32657.57</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>安徽</th>\n",
       "      <td>23983.58</td>\n",
       "      <td>21863.30</td>\n",
       "      <td>19998.10</td>\n",
       "      <td>18362.57</td>\n",
       "      <td>16795.52</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>福建</th>\n",
       "      <td>32643.93</td>\n",
       "      <td>30047.75</td>\n",
       "      <td>27607.93</td>\n",
       "      <td>25404.36</td>\n",
       "      <td>23330.85</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>江西</th>\n",
       "      <td>24079.68</td>\n",
       "      <td>22031.45</td>\n",
       "      <td>20109.56</td>\n",
       "      <td>18437.11</td>\n",
       "      <td>16734.17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>山东</th>\n",
       "      <td>29204.61</td>\n",
       "      <td>26929.94</td>\n",
       "      <td>24685.27</td>\n",
       "      <td>22703.19</td>\n",
       "      <td>20864.21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>河南</th>\n",
       "      <td>21963.54</td>\n",
       "      <td>20170.03</td>\n",
       "      <td>18443.08</td>\n",
       "      <td>17124.75</td>\n",
       "      <td>15695.18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>湖北</th>\n",
       "      <td>25814.54</td>\n",
       "      <td>23757.17</td>\n",
       "      <td>21786.64</td>\n",
       "      <td>20025.56</td>\n",
       "      <td>18283.23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>湖南</th>\n",
       "      <td>25240.75</td>\n",
       "      <td>23102.71</td>\n",
       "      <td>21114.79</td>\n",
       "      <td>19317.49</td>\n",
       "      <td>17621.74</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>广东</th>\n",
       "      <td>35809.90</td>\n",
       "      <td>33003.29</td>\n",
       "      <td>30295.80</td>\n",
       "      <td>27858.86</td>\n",
       "      <td>25684.96</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>广西</th>\n",
       "      <td>21485.03</td>\n",
       "      <td>19904.76</td>\n",
       "      <td>18305.08</td>\n",
       "      <td>16873.42</td>\n",
       "      <td>15557.08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>海南</th>\n",
       "      <td>24579.04</td>\n",
       "      <td>22553.24</td>\n",
       "      <td>20653.44</td>\n",
       "      <td>18978.97</td>\n",
       "      <td>17476.46</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>重庆</th>\n",
       "      <td>26385.84</td>\n",
       "      <td>24152.99</td>\n",
       "      <td>22034.14</td>\n",
       "      <td>20110.11</td>\n",
       "      <td>18351.90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>四川</th>\n",
       "      <td>22460.55</td>\n",
       "      <td>20579.82</td>\n",
       "      <td>18808.26</td>\n",
       "      <td>17220.96</td>\n",
       "      <td>15749.01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>贵州</th>\n",
       "      <td>18430.18</td>\n",
       "      <td>16703.65</td>\n",
       "      <td>15121.15</td>\n",
       "      <td>13696.61</td>\n",
       "      <td>12371.06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>云南</th>\n",
       "      <td>20084.19</td>\n",
       "      <td>18348.34</td>\n",
       "      <td>16719.90</td>\n",
       "      <td>15222.57</td>\n",
       "      <td>13772.21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>西藏</th>\n",
       "      <td>17286.06</td>\n",
       "      <td>15457.30</td>\n",
       "      <td>13639.24</td>\n",
       "      <td>12254.30</td>\n",
       "      <td>10730.22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>陕西</th>\n",
       "      <td>22528.26</td>\n",
       "      <td>20635.21</td>\n",
       "      <td>18873.74</td>\n",
       "      <td>17394.98</td>\n",
       "      <td>15836.75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>甘肃</th>\n",
       "      <td>17488.39</td>\n",
       "      <td>16011.00</td>\n",
       "      <td>14670.31</td>\n",
       "      <td>13466.59</td>\n",
       "      <td>12184.71</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>青海</th>\n",
       "      <td>20757.26</td>\n",
       "      <td>19001.02</td>\n",
       "      <td>17301.76</td>\n",
       "      <td>15812.70</td>\n",
       "      <td>14373.98</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>宁夏</th>\n",
       "      <td>22400.42</td>\n",
       "      <td>20561.66</td>\n",
       "      <td>18832.28</td>\n",
       "      <td>17329.09</td>\n",
       "      <td>15906.78</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>新疆</th>\n",
       "      <td>21500.24</td>\n",
       "      <td>19975.10</td>\n",
       "      <td>18354.65</td>\n",
       "      <td>16859.11</td>\n",
       "      <td>15096.62</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         2018      2017      2016      2015      2014\n",
       "地区                                                   \n",
       "北京   62361.22  57229.83  52530.38  48457.99  44488.57\n",
       "天津   39506.15  37022.33  34074.46  31291.36  28832.29\n",
       "河北   23445.65  21484.13  19725.42  18118.09  16647.40\n",
       "山西   21990.14  20420.01  19048.88  17853.67  16538.32\n",
       "内蒙古  28375.65  26212.23  24126.64  22310.09  20559.34\n",
       "辽宁   29701.45  27835.44  26039.70  24575.58  22820.15\n",
       "吉林   22798.37  21368.32  19966.99  18683.70  17520.39\n",
       "黑龙江  22725.85  21205.79  19838.50  18592.65  17404.39\n",
       "上海   64182.65  58987.96  54305.35  49867.17  45965.83\n",
       "江苏   38095.79  35024.09  32070.10  29538.85  27172.77\n",
       "浙江   45839.84  42045.69  38529.00  35537.09  32657.57\n",
       "安徽   23983.58  21863.30  19998.10  18362.57  16795.52\n",
       "福建   32643.93  30047.75  27607.93  25404.36  23330.85\n",
       "江西   24079.68  22031.45  20109.56  18437.11  16734.17\n",
       "山东   29204.61  26929.94  24685.27  22703.19  20864.21\n",
       "河南   21963.54  20170.03  18443.08  17124.75  15695.18\n",
       "湖北   25814.54  23757.17  21786.64  20025.56  18283.23\n",
       "湖南   25240.75  23102.71  21114.79  19317.49  17621.74\n",
       "广东   35809.90  33003.29  30295.80  27858.86  25684.96\n",
       "广西   21485.03  19904.76  18305.08  16873.42  15557.08\n",
       "海南   24579.04  22553.24  20653.44  18978.97  17476.46\n",
       "重庆   26385.84  24152.99  22034.14  20110.11  18351.90\n",
       "四川   22460.55  20579.82  18808.26  17220.96  15749.01\n",
       "贵州   18430.18  16703.65  15121.15  13696.61  12371.06\n",
       "云南   20084.19  18348.34  16719.90  15222.57  13772.21\n",
       "西藏   17286.06  15457.30  13639.24  12254.30  10730.22\n",
       "陕西   22528.26  20635.21  18873.74  17394.98  15836.75\n",
       "甘肃   17488.39  16011.00  14670.31  13466.59  12184.71\n",
       "青海   20757.26  19001.02  17301.76  15812.70  14373.98\n",
       "宁夏   22400.42  20561.66  18832.28  17329.09  15906.78\n",
       "新疆   21500.24  19975.10  18354.65  16859.11  15096.62"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "c.地区.unique()\n",
    "c.set_index('地区').loc[['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林', '黑龙江', '上海', '江苏', '浙江',\n",
    "       '安徽', '福建', '江西', '山东', '河南', '湖北', '湖南', '广东', '广西', '海南', '重庆',\n",
    "       '四川', '贵州', '云南', '西藏', '陕西', '甘肃', '青海', '宁夏', '新疆'],:]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [],
   "source": [
    "cm=c.set_index('地区').loc[['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林', '黑龙江', '上海', '江苏', '浙江',\n",
    "       '安徽', '福建', '江西', '山东', '河南', '湖北', '湖南', '广东', '广西', '海南', '重庆',\n",
    "       '四川', '贵州', '云南', '西藏', '陕西', '甘肃', '青海', '宁夏', '新疆'],['2014','2015','2016','2017','2018']]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.plotly.v1+json": {
       "config": {
        "linkText": "Export to plot.ly",
        "plotlyServerURL": "https://plot.ly",
        "showLink": true
       },
       "data": [
        {
         "marker": {
          "color": "rgba(226, 74, 51, 0.6)",
          "line": {
           "color": "rgba(226, 74, 51, 1.0)",
           "width": 1
          }
         },
         "name": "2014",
         "orientation": "v",
         "text": "",
         "type": "bar",
         "x": [
          "北京",
          "天津",
          "河北",
          "山西",
          "内蒙古",
          "辽宁",
          "吉林",
          "黑龙江",
          "上海",
          "江苏",
          "浙江",
          "安徽",
          "福建",
          "江西",
          "山东",
          "河南",
          "湖北",
          "湖南",
          "广东",
          "广西",
          "海南",
          "重庆",
          "四川",
          "贵州",
          "云南",
          "西藏",
          "陕西",
          "甘肃",
          "青海",
          "宁夏",
          "新疆"
         ],
         "y": [
          44488.57,
          28832.29,
          16647.4,
          16538.32,
          20559.34,
          22820.15,
          17520.39,
          17404.39,
          45965.83,
          27172.77,
          32657.57,
          16795.52,
          23330.85,
          16734.17,
          20864.21,
          15695.18,
          18283.23,
          17621.74,
          25684.96,
          15557.08,
          17476.46,
          18351.9,
          15749.01,
          12371.06,
          13772.21,
          10730.22,
          15836.75,
          12184.71,
          14373.98,
          15906.78,
          15096.62
         ]
        },
        {
         "marker": {
          "color": "rgba(62, 111, 176, 0.6)",
          "line": {
           "color": "rgba(62, 111, 176, 1.0)",
           "width": 1
          }
         },
         "name": "2015",
         "orientation": "v",
         "text": "",
         "type": "bar",
         "x": [
          "北京",
          "天津",
          "河北",
          "山西",
          "内蒙古",
          "辽宁",
          "吉林",
          "黑龙江",
          "上海",
          "江苏",
          "浙江",
          "安徽",
          "福建",
          "江西",
          "山东",
          "河南",
          "湖北",
          "湖南",
          "广东",
          "广西",
          "海南",
          "重庆",
          "四川",
          "贵州",
          "云南",
          "西藏",
          "陕西",
          "甘肃",
          "青海",
          "宁夏",
          "新疆"
         ],
         "y": [
          48457.99,
          31291.36,
          18118.09,
          17853.67,
          22310.09,
          24575.58,
          18683.7,
          18592.65,
          49867.17,
          29538.85,
          35537.09,
          18362.57,
          25404.36,
          18437.11,
          22703.19,
          17124.75,
          20025.56,
          19317.49,
          27858.86,
          16873.42,
          18978.97,
          20110.11,
          17220.96,
          13696.61,
          15222.57,
          12254.3,
          17394.98,
          13466.59,
          15812.7,
          17329.09,
          16859.11
         ]
        },
        {
         "marker": {
          "color": "rgba(132, 118, 202, 0.6)",
          "line": {
           "color": "rgba(132, 118, 202, 1.0)",
           "width": 1
          }
         },
         "name": "2016",
         "orientation": "v",
         "text": "",
         "type": "bar",
         "x": [
          "北京",
          "天津",
          "河北",
          "山西",
          "内蒙古",
          "辽宁",
          "吉林",
          "黑龙江",
          "上海",
          "江苏",
          "浙江",
          "安徽",
          "福建",
          "江西",
          "山东",
          "河南",
          "湖北",
          "湖南",
          "广东",
          "广西",
          "海南",
          "重庆",
          "四川",
          "贵州",
          "云南",
          "西藏",
          "陕西",
          "甘肃",
          "青海",
          "宁夏",
          "新疆"
         ],
         "y": [
          52530.38,
          34074.46,
          19725.42,
          19048.88,
          24126.64,
          26039.7,
          19966.99,
          19838.5,
          54305.35,
          32070.1,
          38529,
          19998.1,
          27607.93,
          20109.56,
          24685.27,
          18443.08,
          21786.64,
          21114.79,
          30295.8,
          18305.08,
          20653.44,
          22034.14,
          18808.26,
          15121.15,
          16719.9,
          13639.24,
          18873.74,
          14670.31,
          17301.76,
          18832.28,
          18354.65
         ]
        },
        {
         "marker": {
          "color": "rgba(101, 101, 101, 0.6)",
          "line": {
           "color": "rgba(101, 101, 101, 1.0)",
           "width": 1
          }
         },
         "name": "2017",
         "orientation": "v",
         "text": "",
         "type": "bar",
         "x": [
          "北京",
          "天津",
          "河北",
          "山西",
          "内蒙古",
          "辽宁",
          "吉林",
          "黑龙江",
          "上海",
          "江苏",
          "浙江",
          "安徽",
          "福建",
          "江西",
          "山东",
          "河南",
          "湖北",
          "湖南",
          "广东",
          "广西",
          "海南",
          "重庆",
          "四川",
          "贵州",
          "云南",
          "西藏",
          "陕西",
          "甘肃",
          "青海",
          "宁夏",
          "新疆"
         ],
         "y": [
          57229.83,
          37022.33,
          21484.13,
          20420.01,
          26212.23,
          27835.44,
          21368.32,
          21205.79,
          58987.96,
          35024.09,
          42045.69,
          21863.3,
          30047.75,
          22031.45,
          26929.94,
          20170.03,
          23757.17,
          23102.71,
          33003.29,
          19904.76,
          22553.24,
          24152.99,
          20579.82,
          16703.65,
          18348.34,
          15457.3,
          20635.21,
          16011,
          19001.02,
          20561.66,
          19975.1
         ]
        },
        {
         "marker": {
          "color": "rgba(251, 193, 94, 0.6)",
          "line": {
           "color": "rgba(251, 193, 94, 1.0)",
           "width": 1
          }
         },
         "name": "2018",
         "orientation": "v",
         "text": "",
         "type": "bar",
         "x": [
          "北京",
          "天津",
          "河北",
          "山西",
          "内蒙古",
          "辽宁",
          "吉林",
          "黑龙江",
          "上海",
          "江苏",
          "浙江",
          "安徽",
          "福建",
          "江西",
          "山东",
          "河南",
          "湖北",
          "湖南",
          "广东",
          "广西",
          "海南",
          "重庆",
          "四川",
          "贵州",
          "云南",
          "西藏",
          "陕西",
          "甘肃",
          "青海",
          "宁夏",
          "新疆"
         ],
         "y": [
          62361.22,
          39506.15,
          23445.65,
          21990.14,
          28375.65,
          29701.45,
          22798.37,
          22725.85,
          64182.65,
          38095.79,
          45839.84,
          23983.58,
          32643.93,
          24079.68,
          29204.61,
          21963.54,
          25814.54,
          25240.75,
          35809.9,
          21485.03,
          24579.04,
          26385.84,
          22460.55,
          18430.18,
          20084.19,
          17286.06,
          22528.26,
          17488.39,
          20757.26,
          22400.42,
          21500.24
         ]
        }
       ],
       "layout": {
        "legend": {
         "bgcolor": "#FFFFFF",
         "font": {
          "color": "#666666"
         }
        },
        "paper_bgcolor": "#FFFFFF",
        "plot_bgcolor": "#E5E5E5",
        "template": {
         "data": {
          "bar": [
           {
            "error_x": {
             "color": "#2a3f5f"
            },
            "error_y": {
             "color": "#2a3f5f"
            },
            "marker": {
             "line": {
              "color": "#E5ECF6",
              "width": 0.5
             }
            },
            "type": "bar"
           }
          ],
          "barpolar": [
           {
            "marker": {
             "line": {
              "color": "#E5ECF6",
              "width": 0.5
             }
            },
            "type": "barpolar"
           }
          ],
          "carpet": [
           {
            "aaxis": {
             "endlinecolor": "#2a3f5f",
             "gridcolor": "white",
             "linecolor": "white",
             "minorgridcolor": "white",
             "startlinecolor": "#2a3f5f"
            },
            "baxis": {
             "endlinecolor": "#2a3f5f",
             "gridcolor": "white",
             "linecolor": "white",
             "minorgridcolor": "white",
             "startlinecolor": "#2a3f5f"
            },
            "type": "carpet"
           }
          ],
          "choropleth": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "type": "choropleth"
           }
          ],
          "contour": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "contour"
           }
          ],
          "contourcarpet": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "type": "contourcarpet"
           }
          ],
          "heatmap": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "heatmap"
           }
          ],
          "heatmapgl": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "heatmapgl"
           }
          ],
          "histogram": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "histogram"
           }
          ],
          "histogram2d": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "histogram2d"
           }
          ],
          "histogram2dcontour": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "histogram2dcontour"
           }
          ],
          "mesh3d": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "type": "mesh3d"
           }
          ],
          "parcoords": [
           {
            "line": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "parcoords"
           }
          ],
          "pie": [
           {
            "automargin": true,
            "type": "pie"
           }
          ],
          "scatter": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatter"
           }
          ],
          "scatter3d": [
           {
            "line": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatter3d"
           }
          ],
          "scattercarpet": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattercarpet"
           }
          ],
          "scattergeo": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattergeo"
           }
          ],
          "scattergl": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattergl"
           }
          ],
          "scattermapbox": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattermapbox"
           }
          ],
          "scatterpolar": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatterpolar"
           }
          ],
          "scatterpolargl": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatterpolargl"
           }
          ],
          "scatterternary": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scatterternary"
           }
          ],
          "surface": [
           {
            "colorbar": {
             "outlinewidth": 0,
             "ticks": ""
            },
            "colorscale": [
             [
              0,
              "#0d0887"
             ],
             [
              0.1111111111111111,
              "#46039f"
             ],
             [
              0.2222222222222222,
              "#7201a8"
             ],
             [
              0.3333333333333333,
              "#9c179e"
             ],
             [
              0.4444444444444444,
              "#bd3786"
             ],
             [
              0.5555555555555556,
              "#d8576b"
             ],
             [
              0.6666666666666666,
              "#ed7953"
             ],
             [
              0.7777777777777778,
              "#fb9f3a"
             ],
             [
              0.8888888888888888,
              "#fdca26"
             ],
             [
              1,
              "#f0f921"
             ]
            ],
            "type": "surface"
           }
          ],
          "table": [
           {
            "cells": {
             "fill": {
              "color": "#EBF0F8"
             },
             "line": {
              "color": "white"
             }
            },
            "header": {
             "fill": {
              "color": "#C8D4E3"
             },
             "line": {
              "color": "white"
             }
            },
            "type": "table"
           }
          ]
         },
         "layout": {
          "annotationdefaults": {
           "arrowcolor": "#2a3f5f",
           "arrowhead": 0,
           "arrowwidth": 1
          },
          "autotypenumbers": "strict",
          "coloraxis": {
           "colorbar": {
            "outlinewidth": 0,
            "ticks": ""
           }
          },
          "colorscale": {
           "diverging": [
            [
             0,
             "#8e0152"
            ],
            [
             0.1,
             "#c51b7d"
            ],
            [
             0.2,
             "#de77ae"
            ],
            [
             0.3,
             "#f1b6da"
            ],
            [
             0.4,
             "#fde0ef"
            ],
            [
             0.5,
             "#f7f7f7"
            ],
            [
             0.6,
             "#e6f5d0"
            ],
            [
             0.7,
             "#b8e186"
            ],
            [
             0.8,
             "#7fbc41"
            ],
            [
             0.9,
             "#4d9221"
            ],
            [
             1,
             "#276419"
            ]
           ],
           "sequential": [
            [
             0,
             "#0d0887"
            ],
            [
             0.1111111111111111,
             "#46039f"
            ],
            [
             0.2222222222222222,
             "#7201a8"
            ],
            [
             0.3333333333333333,
             "#9c179e"
            ],
            [
             0.4444444444444444,
             "#bd3786"
            ],
            [
             0.5555555555555556,
             "#d8576b"
            ],
            [
             0.6666666666666666,
             "#ed7953"
            ],
            [
             0.7777777777777778,
             "#fb9f3a"
            ],
            [
             0.8888888888888888,
             "#fdca26"
            ],
            [
             1,
             "#f0f921"
            ]
           ],
           "sequentialminus": [
            [
             0,
             "#0d0887"
            ],
            [
             0.1111111111111111,
             "#46039f"
            ],
            [
             0.2222222222222222,
             "#7201a8"
            ],
            [
             0.3333333333333333,
             "#9c179e"
            ],
            [
             0.4444444444444444,
             "#bd3786"
            ],
            [
             0.5555555555555556,
             "#d8576b"
            ],
            [
             0.6666666666666666,
             "#ed7953"
            ],
            [
             0.7777777777777778,
             "#fb9f3a"
            ],
            [
             0.8888888888888888,
             "#fdca26"
            ],
            [
             1,
             "#f0f921"
            ]
           ]
          },
          "colorway": [
           "#636efa",
           "#EF553B",
           "#00cc96",
           "#ab63fa",
           "#FFA15A",
           "#19d3f3",
           "#FF6692",
           "#B6E880",
           "#FF97FF",
           "#FECB52"
          ],
          "font": {
           "color": "#2a3f5f"
          },
          "geo": {
           "bgcolor": "white",
           "lakecolor": "white",
           "landcolor": "#E5ECF6",
           "showlakes": true,
           "showland": true,
           "subunitcolor": "white"
          },
          "hoverlabel": {
           "align": "left"
          },
          "hovermode": "closest",
          "mapbox": {
           "style": "light"
          },
          "paper_bgcolor": "white",
          "plot_bgcolor": "#E5ECF6",
          "polar": {
           "angularaxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           },
           "bgcolor": "#E5ECF6",
           "radialaxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           }
          },
          "scene": {
           "xaxis": {
            "backgroundcolor": "#E5ECF6",
            "gridcolor": "white",
            "gridwidth": 2,
            "linecolor": "white",
            "showbackground": true,
            "ticks": "",
            "zerolinecolor": "white"
           },
           "yaxis": {
            "backgroundcolor": "#E5ECF6",
            "gridcolor": "white",
            "gridwidth": 2,
            "linecolor": "white",
            "showbackground": true,
            "ticks": "",
            "zerolinecolor": "white"
           },
           "zaxis": {
            "backgroundcolor": "#E5ECF6",
            "gridcolor": "white",
            "gridwidth": 2,
            "linecolor": "white",
            "showbackground": true,
            "ticks": "",
            "zerolinecolor": "white"
           }
          },
          "shapedefaults": {
           "line": {
            "color": "#2a3f5f"
           }
          },
          "ternary": {
           "aaxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           },
           "baxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           },
           "bgcolor": "#E5ECF6",
           "caxis": {
            "gridcolor": "white",
            "linecolor": "white",
            "ticks": ""
           }
          },
          "title": {
           "x": 0.05
          },
          "xaxis": {
           "automargin": true,
           "gridcolor": "white",
           "linecolor": "white",
           "ticks": "",
           "title": {
            "standoff": 15
           },
           "zerolinecolor": "white",
           "zerolinewidth": 2
          },
          "yaxis": {
           "automargin": true,
           "gridcolor": "white",
           "linecolor": "white",
           "ticks": "",
           "title": {
            "standoff": 15
           },
           "zerolinecolor": "white",
           "zerolinewidth": 2
          }
         }
        },
        "title": {
         "font": {
          "color": "#151516"
         },
         "text": "分省居民人均可支配收入"
        },
        "xaxis": {
         "gridcolor": "#F6F6F6",
         "showgrid": true,
         "tickfont": {
          "color": "#666666"
         },
         "title": {
          "font": {
           "color": "#666666"
          },
          "text": "地区"
         },
         "zerolinecolor": "#F6F6F6"
        },
        "yaxis": {
         "gridcolor": "#F6F6F6",
         "showgrid": true,
         "tickfont": {
          "color": "#666666"
         },
         "title": {
          "font": {
           "color": "#666666"
          },
          "text": "居民人均可支配收入"
         },
         "zerolinecolor": "#F6F6F6"
        }
       }
      },
      "text/html": [
       "<div>                            <div id=\"af3c4ed5-88c2-466b-baa4-94f4055cced4\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div>            <script type=\"text/javascript\">                require([\"plotly\"], function(Plotly) {                    window.PLOTLYENV=window.PLOTLYENV || {};\n",
       "                    window.PLOTLYENV.BASE_URL='https://plot.ly';                                    if (document.getElementById(\"af3c4ed5-88c2-466b-baa4-94f4055cced4\")) {                    Plotly.newPlot(                        \"af3c4ed5-88c2-466b-baa4-94f4055cced4\",                        [{\"marker\": {\"color\": \"rgba(226, 74, 51, 0.6)\", \"line\": {\"color\": \"rgba(226, 74, 51, 1.0)\", \"width\": 1}}, \"name\": \"2014\", \"orientation\": \"v\", \"text\": \"\", \"type\": \"bar\", \"x\": [\"\\u5317\\u4eac\", \"\\u5929\\u6d25\", \"\\u6cb3\\u5317\", \"\\u5c71\\u897f\", \"\\u5185\\u8499\\u53e4\", \"\\u8fbd\\u5b81\", \"\\u5409\\u6797\", \"\\u9ed1\\u9f99\\u6c5f\", \"\\u4e0a\\u6d77\", \"\\u6c5f\\u82cf\", \"\\u6d59\\u6c5f\", \"\\u5b89\\u5fbd\", \"\\u798f\\u5efa\", \"\\u6c5f\\u897f\", \"\\u5c71\\u4e1c\", \"\\u6cb3\\u5357\", \"\\u6e56\\u5317\", \"\\u6e56\\u5357\", \"\\u5e7f\\u4e1c\", \"\\u5e7f\\u897f\", \"\\u6d77\\u5357\", \"\\u91cd\\u5e86\", \"\\u56db\\u5ddd\", \"\\u8d35\\u5dde\", \"\\u4e91\\u5357\", \"\\u897f\\u85cf\", \"\\u9655\\u897f\", \"\\u7518\\u8083\", \"\\u9752\\u6d77\", \"\\u5b81\\u590f\", \"\\u65b0\\u7586\"], \"y\": [44488.57, 28832.29, 16647.4, 16538.32, 20559.34, 22820.15, 17520.39, 17404.39, 45965.83, 27172.77, 32657.57, 16795.52, 23330.85, 16734.17, 20864.21, 15695.18, 18283.23, 17621.74, 25684.96, 15557.08, 17476.46, 18351.9, 15749.01, 12371.06, 13772.21, 10730.22, 15836.75, 12184.71, 14373.98, 15906.78, 15096.62]}, {\"marker\": {\"color\": \"rgba(62, 111, 176, 0.6)\", \"line\": {\"color\": \"rgba(62, 111, 176, 1.0)\", \"width\": 1}}, \"name\": \"2015\", \"orientation\": \"v\", \"text\": \"\", \"type\": \"bar\", \"x\": [\"\\u5317\\u4eac\", \"\\u5929\\u6d25\", \"\\u6cb3\\u5317\", \"\\u5c71\\u897f\", \"\\u5185\\u8499\\u53e4\", \"\\u8fbd\\u5b81\", \"\\u5409\\u6797\", \"\\u9ed1\\u9f99\\u6c5f\", \"\\u4e0a\\u6d77\", \"\\u6c5f\\u82cf\", \"\\u6d59\\u6c5f\", \"\\u5b89\\u5fbd\", \"\\u798f\\u5efa\", \"\\u6c5f\\u897f\", \"\\u5c71\\u4e1c\", \"\\u6cb3\\u5357\", \"\\u6e56\\u5317\", \"\\u6e56\\u5357\", \"\\u5e7f\\u4e1c\", \"\\u5e7f\\u897f\", \"\\u6d77\\u5357\", \"\\u91cd\\u5e86\", \"\\u56db\\u5ddd\", \"\\u8d35\\u5dde\", \"\\u4e91\\u5357\", \"\\u897f\\u85cf\", \"\\u9655\\u897f\", \"\\u7518\\u8083\", \"\\u9752\\u6d77\", \"\\u5b81\\u590f\", \"\\u65b0\\u7586\"], \"y\": [48457.99, 31291.36, 18118.09, 17853.67, 22310.09, 24575.58, 18683.7, 18592.65, 49867.17, 29538.85, 35537.09, 18362.57, 25404.36, 18437.11, 22703.19, 17124.75, 20025.56, 19317.49, 27858.86, 16873.42, 18978.97, 20110.11, 17220.96, 13696.61, 15222.57, 12254.3, 17394.98, 13466.59, 15812.7, 17329.09, 16859.11]}, {\"marker\": {\"color\": \"rgba(132, 118, 202, 0.6)\", \"line\": {\"color\": \"rgba(132, 118, 202, 1.0)\", \"width\": 1}}, \"name\": \"2016\", \"orientation\": \"v\", \"text\": \"\", \"type\": \"bar\", \"x\": [\"\\u5317\\u4eac\", \"\\u5929\\u6d25\", \"\\u6cb3\\u5317\", \"\\u5c71\\u897f\", \"\\u5185\\u8499\\u53e4\", \"\\u8fbd\\u5b81\", \"\\u5409\\u6797\", \"\\u9ed1\\u9f99\\u6c5f\", \"\\u4e0a\\u6d77\", \"\\u6c5f\\u82cf\", \"\\u6d59\\u6c5f\", \"\\u5b89\\u5fbd\", \"\\u798f\\u5efa\", \"\\u6c5f\\u897f\", \"\\u5c71\\u4e1c\", \"\\u6cb3\\u5357\", \"\\u6e56\\u5317\", \"\\u6e56\\u5357\", \"\\u5e7f\\u4e1c\", \"\\u5e7f\\u897f\", \"\\u6d77\\u5357\", \"\\u91cd\\u5e86\", \"\\u56db\\u5ddd\", \"\\u8d35\\u5dde\", \"\\u4e91\\u5357\", \"\\u897f\\u85cf\", \"\\u9655\\u897f\", \"\\u7518\\u8083\", \"\\u9752\\u6d77\", \"\\u5b81\\u590f\", \"\\u65b0\\u7586\"], \"y\": [52530.38, 34074.46, 19725.42, 19048.88, 24126.64, 26039.7, 19966.99, 19838.5, 54305.35, 32070.1, 38529.0, 19998.1, 27607.93, 20109.56, 24685.27, 18443.08, 21786.64, 21114.79, 30295.8, 18305.08, 20653.44, 22034.14, 18808.26, 15121.15, 16719.9, 13639.24, 18873.74, 14670.31, 17301.76, 18832.28, 18354.65]}, {\"marker\": {\"color\": \"rgba(101, 101, 101, 0.6)\", \"line\": {\"color\": \"rgba(101, 101, 101, 1.0)\", \"width\": 1}}, \"name\": \"2017\", \"orientation\": \"v\", \"text\": \"\", \"type\": \"bar\", \"x\": [\"\\u5317\\u4eac\", \"\\u5929\\u6d25\", \"\\u6cb3\\u5317\", \"\\u5c71\\u897f\", \"\\u5185\\u8499\\u53e4\", \"\\u8fbd\\u5b81\", \"\\u5409\\u6797\", \"\\u9ed1\\u9f99\\u6c5f\", \"\\u4e0a\\u6d77\", \"\\u6c5f\\u82cf\", \"\\u6d59\\u6c5f\", \"\\u5b89\\u5fbd\", \"\\u798f\\u5efa\", \"\\u6c5f\\u897f\", \"\\u5c71\\u4e1c\", \"\\u6cb3\\u5357\", \"\\u6e56\\u5317\", \"\\u6e56\\u5357\", \"\\u5e7f\\u4e1c\", \"\\u5e7f\\u897f\", \"\\u6d77\\u5357\", \"\\u91cd\\u5e86\", \"\\u56db\\u5ddd\", \"\\u8d35\\u5dde\", \"\\u4e91\\u5357\", \"\\u897f\\u85cf\", \"\\u9655\\u897f\", \"\\u7518\\u8083\", \"\\u9752\\u6d77\", \"\\u5b81\\u590f\", \"\\u65b0\\u7586\"], \"y\": [57229.83, 37022.33, 21484.13, 20420.01, 26212.23, 27835.44, 21368.32, 21205.79, 58987.96, 35024.09, 42045.69, 21863.3, 30047.75, 22031.45, 26929.94, 20170.03, 23757.17, 23102.71, 33003.29, 19904.76, 22553.24, 24152.99, 20579.82, 16703.65, 18348.34, 15457.3, 20635.21, 16011.0, 19001.02, 20561.66, 19975.1]}, {\"marker\": {\"color\": \"rgba(251, 193, 94, 0.6)\", \"line\": {\"color\": \"rgba(251, 193, 94, 1.0)\", \"width\": 1}}, \"name\": \"2018\", \"orientation\": \"v\", \"text\": \"\", \"type\": \"bar\", \"x\": [\"\\u5317\\u4eac\", \"\\u5929\\u6d25\", \"\\u6cb3\\u5317\", \"\\u5c71\\u897f\", \"\\u5185\\u8499\\u53e4\", \"\\u8fbd\\u5b81\", \"\\u5409\\u6797\", \"\\u9ed1\\u9f99\\u6c5f\", \"\\u4e0a\\u6d77\", \"\\u6c5f\\u82cf\", \"\\u6d59\\u6c5f\", \"\\u5b89\\u5fbd\", \"\\u798f\\u5efa\", \"\\u6c5f\\u897f\", \"\\u5c71\\u4e1c\", \"\\u6cb3\\u5357\", \"\\u6e56\\u5317\", \"\\u6e56\\u5357\", \"\\u5e7f\\u4e1c\", \"\\u5e7f\\u897f\", \"\\u6d77\\u5357\", \"\\u91cd\\u5e86\", \"\\u56db\\u5ddd\", \"\\u8d35\\u5dde\", \"\\u4e91\\u5357\", \"\\u897f\\u85cf\", \"\\u9655\\u897f\", \"\\u7518\\u8083\", \"\\u9752\\u6d77\", \"\\u5b81\\u590f\", \"\\u65b0\\u7586\"], \"y\": [62361.22, 39506.15, 23445.65, 21990.14, 28375.65, 29701.45, 22798.37, 22725.85, 64182.65, 38095.79, 45839.84, 23983.58, 32643.93, 24079.68, 29204.61, 21963.54, 25814.54, 25240.75, 35809.9, 21485.03, 24579.04, 26385.84, 22460.55, 18430.18, 20084.19, 17286.06, 22528.26, 17488.39, 20757.26, 22400.42, 21500.24]}],                        {\"legend\": {\"bgcolor\": \"#FFFFFF\", \"font\": {\"color\": \"#666666\"}}, \"paper_bgcolor\": \"#FFFFFF\", \"plot_bgcolor\": \"#E5E5E5\", \"template\": {\"data\": {\"bar\": [{\"error_x\": {\"color\": \"#2a3f5f\"}, \"error_y\": {\"color\": \"#2a3f5f\"}, \"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"bar\"}], \"barpolar\": [{\"marker\": {\"line\": {\"color\": \"#E5ECF6\", \"width\": 0.5}}, \"type\": \"barpolar\"}], \"carpet\": [{\"aaxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"baxis\": {\"endlinecolor\": \"#2a3f5f\", \"gridcolor\": \"white\", \"linecolor\": \"white\", \"minorgridcolor\": \"white\", \"startlinecolor\": \"#2a3f5f\"}, \"type\": \"carpet\"}], \"choropleth\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"choropleth\"}], \"contour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"contour\"}], \"contourcarpet\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"contourcarpet\"}], \"heatmap\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmap\"}], \"heatmapgl\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"heatmapgl\"}], \"histogram\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"histogram\"}], \"histogram2d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2d\"}], \"histogram2dcontour\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"histogram2dcontour\"}], \"mesh3d\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"type\": \"mesh3d\"}], \"parcoords\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"parcoords\"}], \"pie\": [{\"automargin\": true, \"type\": \"pie\"}], \"scatter\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter\"}], \"scatter3d\": [{\"line\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatter3d\"}], \"scattercarpet\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattercarpet\"}], \"scattergeo\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergeo\"}], \"scattergl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattergl\"}], \"scattermapbox\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scattermapbox\"}], \"scatterpolar\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolar\"}], \"scatterpolargl\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterpolargl\"}], \"scatterternary\": [{\"marker\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"type\": \"scatterternary\"}], \"surface\": [{\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}, \"colorscale\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"type\": \"surface\"}], \"table\": [{\"cells\": {\"fill\": {\"color\": \"#EBF0F8\"}, \"line\": {\"color\": \"white\"}}, \"header\": {\"fill\": {\"color\": \"#C8D4E3\"}, \"line\": {\"color\": \"white\"}}, \"type\": \"table\"}]}, \"layout\": {\"annotationdefaults\": {\"arrowcolor\": \"#2a3f5f\", \"arrowhead\": 0, \"arrowwidth\": 1}, \"autotypenumbers\": \"strict\", \"coloraxis\": {\"colorbar\": {\"outlinewidth\": 0, \"ticks\": \"\"}}, \"colorscale\": {\"diverging\": [[0, \"#8e0152\"], [0.1, \"#c51b7d\"], [0.2, \"#de77ae\"], [0.3, \"#f1b6da\"], [0.4, \"#fde0ef\"], [0.5, \"#f7f7f7\"], [0.6, \"#e6f5d0\"], [0.7, \"#b8e186\"], [0.8, \"#7fbc41\"], [0.9, \"#4d9221\"], [1, \"#276419\"]], \"sequential\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]], \"sequentialminus\": [[0.0, \"#0d0887\"], [0.1111111111111111, \"#46039f\"], [0.2222222222222222, \"#7201a8\"], [0.3333333333333333, \"#9c179e\"], [0.4444444444444444, \"#bd3786\"], [0.5555555555555556, \"#d8576b\"], [0.6666666666666666, \"#ed7953\"], [0.7777777777777778, \"#fb9f3a\"], [0.8888888888888888, \"#fdca26\"], [1.0, \"#f0f921\"]]}, \"colorway\": [\"#636efa\", \"#EF553B\", \"#00cc96\", \"#ab63fa\", \"#FFA15A\", \"#19d3f3\", \"#FF6692\", \"#B6E880\", \"#FF97FF\", \"#FECB52\"], \"font\": {\"color\": \"#2a3f5f\"}, \"geo\": {\"bgcolor\": \"white\", \"lakecolor\": \"white\", \"landcolor\": \"#E5ECF6\", \"showlakes\": true, \"showland\": true, \"subunitcolor\": \"white\"}, \"hoverlabel\": {\"align\": \"left\"}, \"hovermode\": \"closest\", \"mapbox\": {\"style\": \"light\"}, \"paper_bgcolor\": \"white\", \"plot_bgcolor\": \"#E5ECF6\", \"polar\": {\"angularaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"radialaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"scene\": {\"xaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"yaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}, \"zaxis\": {\"backgroundcolor\": \"#E5ECF6\", \"gridcolor\": \"white\", \"gridwidth\": 2, \"linecolor\": \"white\", \"showbackground\": true, \"ticks\": \"\", \"zerolinecolor\": \"white\"}}, \"shapedefaults\": {\"line\": {\"color\": \"#2a3f5f\"}}, \"ternary\": {\"aaxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"baxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}, \"bgcolor\": \"#E5ECF6\", \"caxis\": {\"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\"}}, \"title\": {\"x\": 0.05}, \"xaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}, \"yaxis\": {\"automargin\": true, \"gridcolor\": \"white\", \"linecolor\": \"white\", \"ticks\": \"\", \"title\": {\"standoff\": 15}, \"zerolinecolor\": \"white\", \"zerolinewidth\": 2}}}, \"title\": {\"font\": {\"color\": \"#151516\"}, \"text\": \"\\u5206\\u7701\\u5c45\\u6c11\\u4eba\\u5747\\u53ef\\u652f\\u914d\\u6536\\u5165\"}, \"xaxis\": {\"gridcolor\": \"#F6F6F6\", \"showgrid\": true, \"tickfont\": {\"color\": \"#666666\"}, \"title\": {\"font\": {\"color\": \"#666666\"}, \"text\": \"\\u5730\\u533a\"}, \"zerolinecolor\": \"#F6F6F6\"}, \"yaxis\": {\"gridcolor\": \"#F6F6F6\", \"showgrid\": true, \"tickfont\": {\"color\": \"#666666\"}, \"title\": {\"font\": {\"color\": \"#666666\"}, \"text\": \"\\u5c45\\u6c11\\u4eba\\u5747\\u53ef\\u652f\\u914d\\u6536\\u5165\"}, \"zerolinecolor\": \"#F6F6F6\"}},                        {\"showLink\": true, \"linkText\": \"Export to plot.ly\", \"plotlyServerURL\": \"https://plot.ly\", \"responsive\": true}                    ).then(function(){\n",
       "                            \n",
       "var gd = document.getElementById('af3c4ed5-88c2-466b-baa4-94f4055cced4');\n",
       "var x = new MutationObserver(function (mutations, observer) {{\n",
       "        var display = window.getComputedStyle(gd).display;\n",
       "        if (!display || display === 'none') {{\n",
       "            console.log([gd, 'removed!']);\n",
       "            Plotly.purge(gd);\n",
       "            observer.disconnect();\n",
       "        }}\n",
       "}});\n",
       "\n",
       "// Listen for the removal of the full notebook cells\n",
       "var notebookContainer = gd.closest('#notebook-container');\n",
       "if (notebookContainer) {{\n",
       "    x.observe(notebookContainer, {childList: true});\n",
       "}}\n",
       "\n",
       "// Listen for the clearing of the current output cell\n",
       "var outputEl = gd.closest('.output');\n",
       "if (outputEl) {{\n",
       "    x.observe(outputEl, {childList: true});\n",
       "}}\n",
       "\n",
       "                        })                };                });            </script>        </div>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "cm.iplot(kind='bar',xTitle=\"地区\",yTitle=\"居民人均可支配收入\",title=\"分省居民人均可支配收入\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "居民人均可支配收入前五分别是上海、北京、浙江、天津、江苏，这五个地区中的上海、天津、北京，这三个地区的高等教育人数亦是前五，但是高中的情况却有所相反，教育经费投入少以及居民人均可支配稍低的地区，反而高中学生的密度大。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 2017分省受教育情况"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林', '黑龙江', '上海', '江苏', '浙江', '安徽', '福建', '江西', '山东', '河南', '湖北', '湖南', '广东', '广西', '海南', '重庆', '四川', '贵州', '云南', '西藏', '陕西', '甘肃', '青海', '宁夏', '新疆']\n"
     ]
    }
   ],
   "source": [
    "print(list(e.地区))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "小学down = e['小学以下'].tolist()\n",
    "中学 = e['中学'].tolist()\n",
    "大学up = e['大学以上'].tolist()\n",
    "EY = e['地区'].tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"e54924d8b0c44c56b986e3a808f58948\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_e54924d8b0c44c56b986e3a808f58948 = echarts.init(\n",
       "                    document.getElementById('e54924d8b0c44c56b986e3a808f58948'), 'white', {renderer: 'canvas'});\n",
       "                var option_e54924d8b0c44c56b986e3a808f58948 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u5c0f\\u5b66\\u4ee5\\u4e0b\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                10.6,\n",
       "                15.7,\n",
       "                27.6,\n",
       "                20.6,\n",
       "                28.4,\n",
       "                21.0,\n",
       "                26.1,\n",
       "                26.3,\n",
       "                14.5,\n",
       "                27.9,\n",
       "                33.2,\n",
       "                35.5,\n",
       "                34.4,\n",
       "                35.8,\n",
       "                30.8,\n",
       "                29.9,\n",
       "                30.3,\n",
       "                28.4,\n",
       "                24.2,\n",
       "                32.9,\n",
       "                24.2,\n",
       "                35.1,\n",
       "                40.0,\n",
       "                43.3,\n",
       "                44.4,\n",
       "                69.2,\n",
       "                30.3,\n",
       "                40.3,\n",
       "                49.8,\n",
       "                32.9,\n",
       "                32.3\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u4e2d\\u5b66\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                41.8,\n",
       "                55.5,\n",
       "                62.5,\n",
       "                64.5,\n",
       "                53.5,\n",
       "                61.6,\n",
       "                59.1,\n",
       "                60.3,\n",
       "                51.5,\n",
       "                54.8,\n",
       "                51.2,\n",
       "                54.9,\n",
       "                50.5,\n",
       "                55.7,\n",
       "                55.9,\n",
       "                61.4,\n",
       "                53.5,\n",
       "                59.8,\n",
       "                61.8,\n",
       "                59.5,\n",
       "                62.7,\n",
       "                51.2,\n",
       "                49.3,\n",
       "                47.2,\n",
       "                47.0,\n",
       "                22.4,\n",
       "                54.5,\n",
       "                45.8,\n",
       "                38.6,\n",
       "                51.3,\n",
       "                49.6\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u5927\\u5b66\\u4ee5\\u4e0a\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                47.6,\n",
       "                28.9,\n",
       "                10.0,\n",
       "                14.9,\n",
       "                18.1,\n",
       "                17.3,\n",
       "                14.8,\n",
       "                13.4,\n",
       "                34.0,\n",
       "                17.3,\n",
       "                15.6,\n",
       "                9.5,\n",
       "                15.1,\n",
       "                8.4,\n",
       "                13.3,\n",
       "                8.7,\n",
       "                16.2,\n",
       "                11.8,\n",
       "                14.0,\n",
       "                7.7,\n",
       "                13.1,\n",
       "                13.6,\n",
       "                10.7,\n",
       "                9.6,\n",
       "                8.5,\n",
       "                8.4,\n",
       "                15.3,\n",
       "                13.9,\n",
       "                11.7,\n",
       "                15.7,\n",
       "                18.1\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u5c0f\\u5b66\\u4ee5\\u4e0b\",\n",
       "                \"\\u4e2d\\u5b66\",\n",
       "                \"\\u5927\\u5b66\\u4ee5\\u4e0a\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u5c0f\\u5b66\\u4ee5\\u4e0b\": true,\n",
       "                \"\\u4e2d\\u5b66\": true,\n",
       "                \"\\u5927\\u5b66\\u4ee5\\u4e0a\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"\\u5317\\u4eac\",\n",
       "                \"\\u5929\\u6d25\",\n",
       "                \"\\u6cb3\\u5317\",\n",
       "                \"\\u5c71\\u897f\",\n",
       "                \"\\u5185\\u8499\\u53e4\",\n",
       "                \"\\u8fbd\\u5b81\",\n",
       "                \"\\u5409\\u6797\",\n",
       "                \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                \"\\u4e0a\\u6d77\",\n",
       "                \"\\u6c5f\\u82cf\",\n",
       "                \"\\u6d59\\u6c5f\",\n",
       "                \"\\u5b89\\u5fbd\",\n",
       "                \"\\u798f\\u5efa\",\n",
       "                \"\\u6c5f\\u897f\",\n",
       "                \"\\u5c71\\u4e1c\",\n",
       "                \"\\u6cb3\\u5357\",\n",
       "                \"\\u6e56\\u5317\",\n",
       "                \"\\u6e56\\u5357\",\n",
       "                \"\\u5e7f\\u4e1c\",\n",
       "                \"\\u5e7f\\u897f\",\n",
       "                \"\\u6d77\\u5357\",\n",
       "                \"\\u91cd\\u5e86\",\n",
       "                \"\\u56db\\u5ddd\",\n",
       "                \"\\u8d35\\u5dde\",\n",
       "                \"\\u4e91\\u5357\",\n",
       "                \"\\u897f\\u85cf\",\n",
       "                \"\\u9655\\u897f\",\n",
       "                \"\\u7518\\u8083\",\n",
       "                \"\\u9752\\u6d77\",\n",
       "                \"\\u5b81\\u590f\",\n",
       "                \"\\u65b0\\u7586\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"2017\\u5206\\u7701\\u53d7\\u6559\\u80b2\\u60c5\\u51b5\\uff08%\\uff09\",\n",
       "            \"subtext\": \"2017\\u5206\\u7701\\u53d7\\u6559\\u80b2\\u60c5\\u51b5\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"itemSize\": 15,\n",
       "        \"itemGap\": 10,\n",
       "        \"left\": \"80%\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"type\": \"png\",\n",
       "                \"backgroundColor\": \"auto\",\n",
       "                \"connectedBackgroundColor\": \"#fff\",\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u4fdd\\u5b58\\u4e3a\\u56fe\\u7247\",\n",
       "                \"pixelRatio\": 1\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u8fd8\\u539f\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                \"readOnly\": false,\n",
       "                \"lang\": [\n",
       "                    \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                    \"\\u5173\\u95ed\",\n",
       "                    \"\\u5237\\u65b0\"\n",
       "                ],\n",
       "                \"backgroundColor\": \"#fff\",\n",
       "                \"textareaColor\": \"#fff\",\n",
       "                \"textareaBorderColor\": \"#333\",\n",
       "                \"textColor\": \"#000\",\n",
       "                \"buttonColor\": \"#c23531\",\n",
       "                \"buttonTextColor\": \"#fff\"\n",
       "            },\n",
       "            \"dataZoom\": {\n",
       "                \"show\": true,\n",
       "                \"title\": {\n",
       "                    \"zoom\": \"\\u533a\\u57df\\u7f29\\u653e\",\n",
       "                    \"back\": \"\\u533a\\u57df\\u7f29\\u653e\\u8fd8\\u539f\"\n",
       "                },\n",
       "                \"icon\": {},\n",
       "                \"xAxisIndex\": false,\n",
       "                \"yAxisIndex\": false,\n",
       "                \"filterMode\": \"filter\"\n",
       "            },\n",
       "            \"magicType\": {\n",
       "                \"show\": true,\n",
       "                \"type\": [\n",
       "                    \"line\",\n",
       "                    \"bar\",\n",
       "                    \"stack\",\n",
       "                    \"tiled\"\n",
       "                ],\n",
       "                \"title\": {\n",
       "                    \"line\": \"\\u5207\\u6362\\u4e3a\\u6298\\u7ebf\\u56fe\",\n",
       "                    \"bar\": \"\\u5207\\u6362\\u4e3a\\u67f1\\u72b6\\u56fe\",\n",
       "                    \"stack\": \"\\u5207\\u6362\\u4e3a\\u5806\\u53e0\",\n",
       "                    \"tiled\": \"\\u5207\\u6362\\u4e3a\\u5e73\\u94fa\"\n",
       "                },\n",
       "                \"icon\": {}\n",
       "            },\n",
       "            \"brush\": {\n",
       "                \"icon\": {},\n",
       "                \"title\": {\n",
       "                    \"rect\": \"\\u77e9\\u5f62\\u9009\\u62e9\",\n",
       "                    \"polygon\": \"\\u5708\\u9009\",\n",
       "                    \"lineX\": \"\\u6a2a\\u5411\\u9009\\u62e9\",\n",
       "                    \"lineY\": \"\\u7eb5\\u5411\\u9009\\u62e9\",\n",
       "                    \"keep\": \"\\u4fdd\\u6301\\u9009\\u62e9\",\n",
       "                    \"clear\": \"\\u6e05\\u9664\\u9009\\u62e9\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"dataZoom\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"slider\",\n",
       "        \"realtime\": true,\n",
       "        \"start\": 20,\n",
       "        \"end\": 80,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"zoomLock\": false,\n",
       "        \"filterMode\": \"filter\"\n",
       "    }\n",
       "};\n",
       "                chart_e54924d8b0c44c56b986e3a808f58948.setOption(option_e54924d8b0c44c56b986e3a808f58948);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x1fbe2e2b460>"
      ]
     },
     "execution_count": 21,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Bar\n",
    "\n",
    "def bar_base() -> Bar:\n",
    "    CO = (\n",
    "        Bar()\n",
    "        .add_xaxis(EY)\n",
    "        .add_yaxis(\"小学以下\",小学down)\n",
    "        .add_yaxis(\"中学\",中学)\n",
    "        .add_yaxis(\"大学以上\",大学up)\n",
    "        .set_global_opts(\n",
    "            title_opts=opts.TitleOpts(title=\"2017分省受教育情况（%）\",subtitle=\"2017分省受教育情况\"),\n",
    "            toolbox_opts=opts.ToolboxOpts(),\n",
    "            \n",
    "            datazoom_opts=opts.DataZoomOpts(),\n",
    "            )\n",
    "        .set_series_opts(\n",
    "            label_opts=opts.LabelOpts(is_show=False),\n",
    "            \n",
    "            )\n",
    "            \n",
    "        \n",
    "    )\n",
    "    return CO\n",
    "bar_base().render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "上图是我国2017年分省学历分布状况，教育经费多，以及居民可支配收入越高的地区，那么该地区的小学及以下的人口占比就会更少，而大学以上的占比就会呈现出很大的优势，尤其是作为我国的首都北京。以及我国经济重点城市上海，这两个地区都有着比别的地区更加多的高等人才。而中学的占比，所有地区都差不多，只有西藏这一地区，占比比较低。这也能说明我国推行的义务教育，很大程度上保障了每个人到中学的受教育权利。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 城乡划分家庭校内外支出占比"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"cc1e64d1cfc44873b92edd90cd80fd71\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_cc1e64d1cfc44873b92edd90cd80fd71 = echarts.init(\n",
       "                    document.getElementById('cc1e64d1cfc44873b92edd90cd80fd71'), 'white', {renderer: 'canvas'});\n",
       "                var option_cc1e64d1cfc44873b92edd90cd80fd71 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u6821\\u5185\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                83.4,\n",
       "                57.8,\n",
       "                57.9,\n",
       "                62.8,\n",
       "                65.9,\n",
       "                63.7\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u6821\\u5916\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                16.6,\n",
       "                42.2,\n",
       "                42.1,\n",
       "                37.2,\n",
       "                34.1,\n",
       "                36.3\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u6821\\u5185\",\n",
       "                \"\\u6821\\u5916\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u6821\\u5185\": true,\n",
       "                \"\\u6821\\u5916\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"\\u519c\\u6751\",\n",
       "                \"\\u57ce\\u5e02\",\n",
       "                \"\\u4e1c\\u90e8\",\n",
       "                \"\\u4e1c\\u5317\\u90e8\",\n",
       "                \"\\u4e2d\\u90e8\",\n",
       "                \"\\u897f\\u90e8\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u57ce\\u4e61\\u53ca\\u5730\\u533a\\u5212\\u5206\\u5bb6\\u5ead\\u6559\\u80b2\\u6821\\u5185\\u5916\\u652f\\u51fa\\u5360\\u6bd4\",\n",
       "            \"subtext\": \"\\u5c0f\\u5b66\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"itemSize\": 15,\n",
       "        \"itemGap\": 10,\n",
       "        \"left\": \"80%\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"type\": \"png\",\n",
       "                \"backgroundColor\": \"auto\",\n",
       "                \"connectedBackgroundColor\": \"#fff\",\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u4fdd\\u5b58\\u4e3a\\u56fe\\u7247\",\n",
       "                \"pixelRatio\": 1\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u8fd8\\u539f\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                \"readOnly\": false,\n",
       "                \"lang\": [\n",
       "                    \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                    \"\\u5173\\u95ed\",\n",
       "                    \"\\u5237\\u65b0\"\n",
       "                ],\n",
       "                \"backgroundColor\": \"#fff\",\n",
       "                \"textareaColor\": \"#fff\",\n",
       "                \"textareaBorderColor\": \"#333\",\n",
       "                \"textColor\": \"#000\",\n",
       "                \"buttonColor\": \"#c23531\",\n",
       "                \"buttonTextColor\": \"#fff\"\n",
       "            },\n",
       "            \"dataZoom\": {\n",
       "                \"show\": true,\n",
       "                \"title\": {\n",
       "                    \"zoom\": \"\\u533a\\u57df\\u7f29\\u653e\",\n",
       "                    \"back\": \"\\u533a\\u57df\\u7f29\\u653e\\u8fd8\\u539f\"\n",
       "                },\n",
       "                \"icon\": {},\n",
       "                \"xAxisIndex\": false,\n",
       "                \"yAxisIndex\": false,\n",
       "                \"filterMode\": \"filter\"\n",
       "            },\n",
       "            \"magicType\": {\n",
       "                \"show\": true,\n",
       "                \"type\": [\n",
       "                    \"line\",\n",
       "                    \"bar\",\n",
       "                    \"stack\",\n",
       "                    \"tiled\"\n",
       "                ],\n",
       "                \"title\": {\n",
       "                    \"line\": \"\\u5207\\u6362\\u4e3a\\u6298\\u7ebf\\u56fe\",\n",
       "                    \"bar\": \"\\u5207\\u6362\\u4e3a\\u67f1\\u72b6\\u56fe\",\n",
       "                    \"stack\": \"\\u5207\\u6362\\u4e3a\\u5806\\u53e0\",\n",
       "                    \"tiled\": \"\\u5207\\u6362\\u4e3a\\u5e73\\u94fa\"\n",
       "                },\n",
       "                \"icon\": {}\n",
       "            },\n",
       "            \"brush\": {\n",
       "                \"icon\": {},\n",
       "                \"title\": {\n",
       "                    \"rect\": \"\\u77e9\\u5f62\\u9009\\u62e9\",\n",
       "                    \"polygon\": \"\\u5708\\u9009\",\n",
       "                    \"lineX\": \"\\u6a2a\\u5411\\u9009\\u62e9\",\n",
       "                    \"lineY\": \"\\u7eb5\\u5411\\u9009\\u62e9\",\n",
       "                    \"keep\": \"\\u4fdd\\u6301\\u9009\\u62e9\",\n",
       "                    \"clear\": \"\\u6e05\\u9664\\u9009\\u62e9\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"dataZoom\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"slider\",\n",
       "        \"realtime\": true,\n",
       "        \"start\": 20,\n",
       "        \"end\": 80,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"zoomLock\": false,\n",
       "        \"filterMode\": \"filter\"\n",
       "    }\n",
       "};\n",
       "                chart_cc1e64d1cfc44873b92edd90cd80fd71.setOption(option_cc1e64d1cfc44873b92edd90cd80fd71);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x1fbf62f02e0>"
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "校内 = f['校内'].tolist()\n",
    "校外 = f['校外'].tolist()\n",
    "FY = f['指标'].tolist()\n",
    "\n",
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Bar\n",
    "\n",
    "def bar_base() -> Bar:\n",
    "    CO = (\n",
    "        Bar()\n",
    "        .add_xaxis(FY)\n",
    "        .add_yaxis(\"校内\",校内)\n",
    "        .add_yaxis(\"校外\",校外)\n",
    "        .set_global_opts(\n",
    "            title_opts=opts.TitleOpts(title=\"城乡及地区划分家庭教育校内外支出占比\",subtitle=\"小学\"),\n",
    "            toolbox_opts=opts.ToolboxOpts(),\n",
    "            \n",
    "            datazoom_opts=opts.DataZoomOpts(),\n",
    "            )\n",
    "        .set_series_opts(\n",
    "            label_opts=opts.LabelOpts(is_show=False),\n",
    "            \n",
    "            )\n",
    "            \n",
    "        \n",
    "    )\n",
    "    return CO\n",
    "bar_base().render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "通过此图可以看到小学时期农村比城市家庭教育校内支出占比高很多，以及经济较好的地区的家庭教育支出校内占比会比经济稍差的地区低。由此可见，经济发达，居民人均可支配更高的地区，教育支出校外占比会更加高。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 平均家庭教育支出（元）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [],
   "source": [
    "生均家庭教育支出 = g['生均家庭教育支出'].tolist()\n",
    "\n",
    "GY = g['地区'].tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"bab0c992f76e403f8c8425418d953539\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_bab0c992f76e403f8c8425418d953539 = echarts.init(\n",
       "                    document.getElementById('bab0c992f76e403f8c8425418d953539'), 'white', {renderer: 'canvas'});\n",
       "                var option_bab0c992f76e403f8c8425418d953539 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u751f\\u5747\\u5bb6\\u5ead\\u6559\\u80b2\\u652f\\u51fa\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                8657,\n",
       "                11000,\n",
       "                6382,\n",
       "                5567\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u751f\\u5747\\u5bb6\\u5ead\\u6559\\u80b2\\u652f\\u51fa\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u751f\\u5747\\u5bb6\\u5ead\\u6559\\u80b2\\u652f\\u51fa\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"\\u4e1c\\u90e8\",\n",
       "                \"\\u4e1c\\u5317\\u90e8\",\n",
       "                \"\\u4e2d\\u90e8\",\n",
       "                \"\\u897f\\u90e8\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u751f\\u5747\\u5bb6\\u5ead\\u6559\\u80b2\\u652f\\u51fa\\uff08\\u5143\\uff09\",\n",
       "            \"subtext\": \"\\u751f\\u5747\\u5bb6\\u5ead\\u6559\\u80b2\\u652f\\u51fa\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"itemSize\": 15,\n",
       "        \"itemGap\": 10,\n",
       "        \"left\": \"80%\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"type\": \"png\",\n",
       "                \"backgroundColor\": \"auto\",\n",
       "                \"connectedBackgroundColor\": \"#fff\",\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u4fdd\\u5b58\\u4e3a\\u56fe\\u7247\",\n",
       "                \"pixelRatio\": 1\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u8fd8\\u539f\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                \"readOnly\": false,\n",
       "                \"lang\": [\n",
       "                    \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                    \"\\u5173\\u95ed\",\n",
       "                    \"\\u5237\\u65b0\"\n",
       "                ],\n",
       "                \"backgroundColor\": \"#fff\",\n",
       "                \"textareaColor\": \"#fff\",\n",
       "                \"textareaBorderColor\": \"#333\",\n",
       "                \"textColor\": \"#000\",\n",
       "                \"buttonColor\": \"#c23531\",\n",
       "                \"buttonTextColor\": \"#fff\"\n",
       "            },\n",
       "            \"dataZoom\": {\n",
       "                \"show\": true,\n",
       "                \"title\": {\n",
       "                    \"zoom\": \"\\u533a\\u57df\\u7f29\\u653e\",\n",
       "                    \"back\": \"\\u533a\\u57df\\u7f29\\u653e\\u8fd8\\u539f\"\n",
       "                },\n",
       "                \"icon\": {},\n",
       "                \"xAxisIndex\": false,\n",
       "                \"yAxisIndex\": false,\n",
       "                \"filterMode\": \"filter\"\n",
       "            },\n",
       "            \"magicType\": {\n",
       "                \"show\": true,\n",
       "                \"type\": [\n",
       "                    \"line\",\n",
       "                    \"bar\",\n",
       "                    \"stack\",\n",
       "                    \"tiled\"\n",
       "                ],\n",
       "                \"title\": {\n",
       "                    \"line\": \"\\u5207\\u6362\\u4e3a\\u6298\\u7ebf\\u56fe\",\n",
       "                    \"bar\": \"\\u5207\\u6362\\u4e3a\\u67f1\\u72b6\\u56fe\",\n",
       "                    \"stack\": \"\\u5207\\u6362\\u4e3a\\u5806\\u53e0\",\n",
       "                    \"tiled\": \"\\u5207\\u6362\\u4e3a\\u5e73\\u94fa\"\n",
       "                },\n",
       "                \"icon\": {}\n",
       "            },\n",
       "            \"brush\": {\n",
       "                \"icon\": {},\n",
       "                \"title\": {\n",
       "                    \"rect\": \"\\u77e9\\u5f62\\u9009\\u62e9\",\n",
       "                    \"polygon\": \"\\u5708\\u9009\",\n",
       "                    \"lineX\": \"\\u6a2a\\u5411\\u9009\\u62e9\",\n",
       "                    \"lineY\": \"\\u7eb5\\u5411\\u9009\\u62e9\",\n",
       "                    \"keep\": \"\\u4fdd\\u6301\\u9009\\u62e9\",\n",
       "                    \"clear\": \"\\u6e05\\u9664\\u9009\\u62e9\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"dataZoom\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"slider\",\n",
       "        \"realtime\": true,\n",
       "        \"start\": 20,\n",
       "        \"end\": 80,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"zoomLock\": false,\n",
       "        \"filterMode\": \"filter\"\n",
       "    }\n",
       "};\n",
       "                chart_bab0c992f76e403f8c8425418d953539.setOption(option_bab0c992f76e403f8c8425418d953539);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x1fbe19bb790>"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Bar\n",
    "\n",
    "def bar_base() -> Bar:\n",
    "    CO = (\n",
    "        Bar()\n",
    "        .add_xaxis(GY)\n",
    "        .add_yaxis(\"生均家庭教育支出\",生均家庭教育支出)\n",
    "        .set_global_opts(\n",
    "            title_opts=opts.TitleOpts(title=\"生均家庭教育支出（元）\",subtitle=\"生均家庭教育支出\"),\n",
    "            toolbox_opts=opts.ToolboxOpts(),\n",
    "            \n",
    "            datazoom_opts=opts.DataZoomOpts(),\n",
    "            )\n",
    "        .set_series_opts(\n",
    "            label_opts=opts.LabelOpts(is_show=False),\n",
    "            \n",
    "            )\n",
    "            \n",
    "        \n",
    "    )\n",
    "    return CO\n",
    "bar_base().render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "高等教育密度大，人才多的地方，生均家庭教育支出会比别的地区多。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 城农家庭教育支出水平"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "学前 = h['学前'].tolist()\n",
    "小学 = h['小学'].tolist()\n",
    "初中 = h['初中'].tolist()\n",
    "普通高中 = h['普通高中'].tolist()\n",
    "中职 = h['中职'].tolist()\n",
    "\n",
    "\n",
    "HY = h['指标'].tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"839f34c3451b46638e4f4f2f668c5ef2\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_839f34c3451b46638e4f4f2f668c5ef2 = echarts.init(\n",
       "                    document.getElementById('839f34c3451b46638e4f4f2f668c5ef2'), 'white', {renderer: 'canvas'});\n",
       "                var option_839f34c3451b46638e4f4f2f668c5ef2 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u5b66\\u524d\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                6556,\n",
       "                3155,\n",
       "                8105\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u5c0f\\u5b66\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                6583,\n",
       "                2758,\n",
       "                8573\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u521d\\u4e2d\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                8991,\n",
       "                4466,\n",
       "                11000\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u666e\\u901a\\u9ad8\\u4e2d\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                16900,\n",
       "                12200,\n",
       "                18200\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u4e2d\\u804c\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                10700,\n",
       "                9061,\n",
       "                11400\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u5b66\\u524d\",\n",
       "                \"\\u5c0f\\u5b66\",\n",
       "                \"\\u521d\\u4e2d\",\n",
       "                \"\\u666e\\u901a\\u9ad8\\u4e2d\",\n",
       "                \"\\u4e2d\\u804c\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u5b66\\u524d\": true,\n",
       "                \"\\u5c0f\\u5b66\": true,\n",
       "                \"\\u521d\\u4e2d\": true,\n",
       "                \"\\u666e\\u901a\\u9ad8\\u4e2d\": true,\n",
       "                \"\\u4e2d\\u804c\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"\\u5168\\u56fd\",\n",
       "                \"\\u519c\\u6751\",\n",
       "                \"\\u57ce\\u9547\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"2017\\u57ce\\u519c\\u5bb6\\u5ead\\u6559\\u80b2\\u652f\\u51fa\\u6c34\\u5e73\",\n",
       "            \"subtext\": \"\\u6559\\u80b2\\u652f\\u51fa\\u6c34\\u5e73\\uff08\\u5143\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"itemSize\": 15,\n",
       "        \"itemGap\": 10,\n",
       "        \"left\": \"80%\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"type\": \"png\",\n",
       "                \"backgroundColor\": \"auto\",\n",
       "                \"connectedBackgroundColor\": \"#fff\",\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u4fdd\\u5b58\\u4e3a\\u56fe\\u7247\",\n",
       "                \"pixelRatio\": 1\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u8fd8\\u539f\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                \"readOnly\": false,\n",
       "                \"lang\": [\n",
       "                    \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                    \"\\u5173\\u95ed\",\n",
       "                    \"\\u5237\\u65b0\"\n",
       "                ],\n",
       "                \"backgroundColor\": \"#fff\",\n",
       "                \"textareaColor\": \"#fff\",\n",
       "                \"textareaBorderColor\": \"#333\",\n",
       "                \"textColor\": \"#000\",\n",
       "                \"buttonColor\": \"#c23531\",\n",
       "                \"buttonTextColor\": \"#fff\"\n",
       "            },\n",
       "            \"dataZoom\": {\n",
       "                \"show\": true,\n",
       "                \"title\": {\n",
       "                    \"zoom\": \"\\u533a\\u57df\\u7f29\\u653e\",\n",
       "                    \"back\": \"\\u533a\\u57df\\u7f29\\u653e\\u8fd8\\u539f\"\n",
       "                },\n",
       "                \"icon\": {},\n",
       "                \"xAxisIndex\": false,\n",
       "                \"yAxisIndex\": false,\n",
       "                \"filterMode\": \"filter\"\n",
       "            },\n",
       "            \"magicType\": {\n",
       "                \"show\": true,\n",
       "                \"type\": [\n",
       "                    \"line\",\n",
       "                    \"bar\",\n",
       "                    \"stack\",\n",
       "                    \"tiled\"\n",
       "                ],\n",
       "                \"title\": {\n",
       "                    \"line\": \"\\u5207\\u6362\\u4e3a\\u6298\\u7ebf\\u56fe\",\n",
       "                    \"bar\": \"\\u5207\\u6362\\u4e3a\\u67f1\\u72b6\\u56fe\",\n",
       "                    \"stack\": \"\\u5207\\u6362\\u4e3a\\u5806\\u53e0\",\n",
       "                    \"tiled\": \"\\u5207\\u6362\\u4e3a\\u5e73\\u94fa\"\n",
       "                },\n",
       "                \"icon\": {}\n",
       "            },\n",
       "            \"brush\": {\n",
       "                \"icon\": {},\n",
       "                \"title\": {\n",
       "                    \"rect\": \"\\u77e9\\u5f62\\u9009\\u62e9\",\n",
       "                    \"polygon\": \"\\u5708\\u9009\",\n",
       "                    \"lineX\": \"\\u6a2a\\u5411\\u9009\\u62e9\",\n",
       "                    \"lineY\": \"\\u7eb5\\u5411\\u9009\\u62e9\",\n",
       "                    \"keep\": \"\\u4fdd\\u6301\\u9009\\u62e9\",\n",
       "                    \"clear\": \"\\u6e05\\u9664\\u9009\\u62e9\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"dataZoom\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"slider\",\n",
       "        \"realtime\": true,\n",
       "        \"start\": 20,\n",
       "        \"end\": 80,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"zoomLock\": false,\n",
       "        \"filterMode\": \"filter\"\n",
       "    }\n",
       "};\n",
       "                chart_839f34c3451b46638e4f4f2f668c5ef2.setOption(option_839f34c3451b46638e4f4f2f668c5ef2);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x22aa9aa3a90>"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Bar\n",
    "\n",
    "def bar_base() -> Bar:\n",
    "    CO = (\n",
    "        Bar()\n",
    "        .add_xaxis(HY)\n",
    "        .add_yaxis(\"学前\",学前)\n",
    "        .add_yaxis(\"小学\",小学)\n",
    "        .add_yaxis(\"初中\",初中)\n",
    "        .add_yaxis(\"普通高中\",普通高中)\n",
    "        .add_yaxis(\"中职\",中职)\n",
    "        .set_global_opts(\n",
    "            title_opts=opts.TitleOpts(title=\"2017城农家庭教育支出水平\",subtitle=\"教育支出水平（元）\"),\n",
    "            toolbox_opts=opts.ToolboxOpts(),\n",
    "            \n",
    "            datazoom_opts=opts.DataZoomOpts(),\n",
    "            )\n",
    "        .set_series_opts(\n",
    "            label_opts=opts.LabelOpts(is_show=False),\n",
    "            \n",
    "            )\n",
    "            \n",
    "        \n",
    "    )\n",
    "    return CO\n",
    "bar_base().render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "随着教育程度的提高，所要花费的金额也会不断上涨。跨过了义务教育阶段，来到高中后，无论是农村还是城市，家庭教育支出都会迎来大幅上涨。其中，城市在教育各阶段都会比农村支出高得多，义务教务阶段差距几乎高达一倍。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 家庭校内外支出占比"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [],
   "source": [
    "x校内 = x['校内'].tolist()\n",
    "x校外 = x['校外'].tolist()\n",
    "xY = x['阶段'].tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"008a9aa23ded41aaa847fcb6112407ef\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_008a9aa23ded41aaa847fcb6112407ef = echarts.init(\n",
       "                    document.getElementById('008a9aa23ded41aaa847fcb6112407ef'), 'white', {renderer: 'canvas'});\n",
       "                var option_008a9aa23ded41aaa847fcb6112407ef = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u6821\\u5185\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                88.8,\n",
       "                61.7,\n",
       "                67.5,\n",
       "                73.3\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u6821\\u5916\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                11.2,\n",
       "                38.3,\n",
       "                32.5,\n",
       "                26.7\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u6821\\u5185\",\n",
       "                \"\\u6821\\u5916\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u6821\\u5185\": true,\n",
       "                \"\\u6821\\u5916\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"\\u5b66\\u524d\",\n",
       "                \"\\u5c0f\\u5b66\",\n",
       "                \"\\u521d\\u4e2d\",\n",
       "                \"\\u666e\\u901a\\u9ad8\\u4e2d\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"2017\\u5168\\u56fd\\u5bb6\\u5ead\\u6821\\u5185\\u5916\\u652f\\u51fa\\u5360\\u6bd4\",\n",
       "            \"subtext\": \"\\u5bb6\\u5ead\\u6821\\u5185\\u5916\\u652f\\u51fa\\u5360\\u6bd4\\uff08%\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"itemSize\": 15,\n",
       "        \"itemGap\": 10,\n",
       "        \"left\": \"80%\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"type\": \"png\",\n",
       "                \"backgroundColor\": \"auto\",\n",
       "                \"connectedBackgroundColor\": \"#fff\",\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u4fdd\\u5b58\\u4e3a\\u56fe\\u7247\",\n",
       "                \"pixelRatio\": 1\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u8fd8\\u539f\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                \"readOnly\": false,\n",
       "                \"lang\": [\n",
       "                    \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                    \"\\u5173\\u95ed\",\n",
       "                    \"\\u5237\\u65b0\"\n",
       "                ],\n",
       "                \"backgroundColor\": \"#fff\",\n",
       "                \"textareaColor\": \"#fff\",\n",
       "                \"textareaBorderColor\": \"#333\",\n",
       "                \"textColor\": \"#000\",\n",
       "                \"buttonColor\": \"#c23531\",\n",
       "                \"buttonTextColor\": \"#fff\"\n",
       "            },\n",
       "            \"dataZoom\": {\n",
       "                \"show\": true,\n",
       "                \"title\": {\n",
       "                    \"zoom\": \"\\u533a\\u57df\\u7f29\\u653e\",\n",
       "                    \"back\": \"\\u533a\\u57df\\u7f29\\u653e\\u8fd8\\u539f\"\n",
       "                },\n",
       "                \"icon\": {},\n",
       "                \"xAxisIndex\": false,\n",
       "                \"yAxisIndex\": false,\n",
       "                \"filterMode\": \"filter\"\n",
       "            },\n",
       "            \"magicType\": {\n",
       "                \"show\": true,\n",
       "                \"type\": [\n",
       "                    \"line\",\n",
       "                    \"bar\",\n",
       "                    \"stack\",\n",
       "                    \"tiled\"\n",
       "                ],\n",
       "                \"title\": {\n",
       "                    \"line\": \"\\u5207\\u6362\\u4e3a\\u6298\\u7ebf\\u56fe\",\n",
       "                    \"bar\": \"\\u5207\\u6362\\u4e3a\\u67f1\\u72b6\\u56fe\",\n",
       "                    \"stack\": \"\\u5207\\u6362\\u4e3a\\u5806\\u53e0\",\n",
       "                    \"tiled\": \"\\u5207\\u6362\\u4e3a\\u5e73\\u94fa\"\n",
       "                },\n",
       "                \"icon\": {}\n",
       "            },\n",
       "            \"brush\": {\n",
       "                \"icon\": {},\n",
       "                \"title\": {\n",
       "                    \"rect\": \"\\u77e9\\u5f62\\u9009\\u62e9\",\n",
       "                    \"polygon\": \"\\u5708\\u9009\",\n",
       "                    \"lineX\": \"\\u6a2a\\u5411\\u9009\\u62e9\",\n",
       "                    \"lineY\": \"\\u7eb5\\u5411\\u9009\\u62e9\",\n",
       "                    \"keep\": \"\\u4fdd\\u6301\\u9009\\u62e9\",\n",
       "                    \"clear\": \"\\u6e05\\u9664\\u9009\\u62e9\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"dataZoom\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"slider\",\n",
       "        \"realtime\": true,\n",
       "        \"start\": 20,\n",
       "        \"end\": 80,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"zoomLock\": false,\n",
       "        \"filterMode\": \"filter\"\n",
       "    }\n",
       "};\n",
       "                chart_008a9aa23ded41aaa847fcb6112407ef.setOption(option_008a9aa23ded41aaa847fcb6112407ef);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x22aa9aa6e20>"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Bar\n",
    "\n",
    "def bar_base() -> Bar:\n",
    "    CO = (\n",
    "        Bar()\n",
    "        .add_xaxis(xY)\n",
    "        .add_yaxis(\"校内\",x校内)\n",
    "        .add_yaxis(\"校外\",x校外)\n",
    "        .set_global_opts(\n",
    "            title_opts=opts.TitleOpts(title=\"2017全国家庭校内外支出占比\",subtitle=\"家庭校内外支出占比（%）\"),\n",
    "            toolbox_opts=opts.ToolboxOpts(),\n",
    "            \n",
    "            datazoom_opts=opts.DataZoomOpts(),\n",
    "            )\n",
    "        .set_series_opts(\n",
    "            label_opts=opts.LabelOpts(is_show=False),\n",
    "            \n",
    "            )\n",
    "            \n",
    "        \n",
    "    )\n",
    "    return CO\n",
    "bar_base().render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "从全国平均家庭教育支出来看，家庭教育支出主要是以校内支出为主。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 学科类校外培训参与率"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [],
   "source": [
    "j全国 = j['全国'].tolist()\n",
    "j农村 = j['农村'].tolist()\n",
    "j城镇 = j['城镇'].tolist()\n",
    "j东部 = j['东部'].tolist()\n",
    "j东北部 = j['东北部'].tolist()\n",
    "j中部 = j['中部'].tolist()\n",
    "j西部 = j['西部'].tolist()\n",
    "JY = j['阶段'].tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"02b58762e3dd4ca0b28565ae5ed1ffb7\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_02b58762e3dd4ca0b28565ae5ed1ffb7 = echarts.init(\n",
       "                    document.getElementById('02b58762e3dd4ca0b28565ae5ed1ffb7'), 'white', {renderer: 'canvas'});\n",
       "                var option_02b58762e3dd4ca0b28565ae5ed1ffb7 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u5168\\u56fd\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                33.4,\n",
       "                43.7,\n",
       "                48.2,\n",
       "                37.8\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u519c\\u6751\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                20.8,\n",
       "                24.4,\n",
       "                26.0,\n",
       "                21.8\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u57ce\\u9547\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                40.0,\n",
       "                52.3,\n",
       "                54.2,\n",
       "                44.8\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u4e1c\\u90e8\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                33.8,\n",
       "                44.8,\n",
       "                49.8,\n",
       "                38.1\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u4e1c\\u5317\\u90e8\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                57.1,\n",
       "                67.8,\n",
       "                63.5,\n",
       "                60.8\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u4e2d\\u90e8\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                35.4,\n",
       "                45.1,\n",
       "                42.5,\n",
       "                38.0\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u897f\\u90e8\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                25.0,\n",
       "                33.7,\n",
       "                46.4,\n",
       "                30.5\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": false,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u5168\\u56fd\",\n",
       "                \"\\u519c\\u6751\",\n",
       "                \"\\u57ce\\u9547\",\n",
       "                \"\\u4e1c\\u90e8\",\n",
       "                \"\\u4e1c\\u5317\\u90e8\",\n",
       "                \"\\u4e2d\\u90e8\",\n",
       "                \"\\u897f\\u90e8\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u5168\\u56fd\": true,\n",
       "                \"\\u519c\\u6751\": true,\n",
       "                \"\\u57ce\\u9547\": true,\n",
       "                \"\\u4e1c\\u90e8\": true,\n",
       "                \"\\u4e1c\\u5317\\u90e8\": true,\n",
       "                \"\\u4e2d\\u90e8\": true,\n",
       "                \"\\u897f\\u90e8\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"\\u5c0f\\u5b66\",\n",
       "                \"\\u521d\\u4e2d\",\n",
       "                \"\\u666e\\u901a\\u9ad8\\u4e2d\",\n",
       "                \"\\u4e2d\\u5c0f\\u5b66\\u751f\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u5b66\\u79d1\\u7c7b\\u6821\\u5916\\u57f9\\u8bad\\u53c2\\u4e0e\\u7387\",\n",
       "            \"subtext\": \"\\u5168\\u56fd\\u4e2d\\u5c0f\\u5b66\\u751f\\uff08%\\uff09\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"itemSize\": 15,\n",
       "        \"itemGap\": 10,\n",
       "        \"left\": \"80%\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"type\": \"png\",\n",
       "                \"backgroundColor\": \"auto\",\n",
       "                \"connectedBackgroundColor\": \"#fff\",\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u4fdd\\u5b58\\u4e3a\\u56fe\\u7247\",\n",
       "                \"pixelRatio\": 1\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u8fd8\\u539f\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                \"readOnly\": false,\n",
       "                \"lang\": [\n",
       "                    \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                    \"\\u5173\\u95ed\",\n",
       "                    \"\\u5237\\u65b0\"\n",
       "                ],\n",
       "                \"backgroundColor\": \"#fff\",\n",
       "                \"textareaColor\": \"#fff\",\n",
       "                \"textareaBorderColor\": \"#333\",\n",
       "                \"textColor\": \"#000\",\n",
       "                \"buttonColor\": \"#c23531\",\n",
       "                \"buttonTextColor\": \"#fff\"\n",
       "            },\n",
       "            \"dataZoom\": {\n",
       "                \"show\": true,\n",
       "                \"title\": {\n",
       "                    \"zoom\": \"\\u533a\\u57df\\u7f29\\u653e\",\n",
       "                    \"back\": \"\\u533a\\u57df\\u7f29\\u653e\\u8fd8\\u539f\"\n",
       "                },\n",
       "                \"icon\": {},\n",
       "                \"xAxisIndex\": false,\n",
       "                \"yAxisIndex\": false,\n",
       "                \"filterMode\": \"filter\"\n",
       "            },\n",
       "            \"magicType\": {\n",
       "                \"show\": true,\n",
       "                \"type\": [\n",
       "                    \"line\",\n",
       "                    \"bar\",\n",
       "                    \"stack\",\n",
       "                    \"tiled\"\n",
       "                ],\n",
       "                \"title\": {\n",
       "                    \"line\": \"\\u5207\\u6362\\u4e3a\\u6298\\u7ebf\\u56fe\",\n",
       "                    \"bar\": \"\\u5207\\u6362\\u4e3a\\u67f1\\u72b6\\u56fe\",\n",
       "                    \"stack\": \"\\u5207\\u6362\\u4e3a\\u5806\\u53e0\",\n",
       "                    \"tiled\": \"\\u5207\\u6362\\u4e3a\\u5e73\\u94fa\"\n",
       "                },\n",
       "                \"icon\": {}\n",
       "            },\n",
       "            \"brush\": {\n",
       "                \"icon\": {},\n",
       "                \"title\": {\n",
       "                    \"rect\": \"\\u77e9\\u5f62\\u9009\\u62e9\",\n",
       "                    \"polygon\": \"\\u5708\\u9009\",\n",
       "                    \"lineX\": \"\\u6a2a\\u5411\\u9009\\u62e9\",\n",
       "                    \"lineY\": \"\\u7eb5\\u5411\\u9009\\u62e9\",\n",
       "                    \"keep\": \"\\u4fdd\\u6301\\u9009\\u62e9\",\n",
       "                    \"clear\": \"\\u6e05\\u9664\\u9009\\u62e9\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"dataZoom\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"slider\",\n",
       "        \"realtime\": true,\n",
       "        \"start\": 20,\n",
       "        \"end\": 80,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"zoomLock\": false,\n",
       "        \"filterMode\": \"filter\"\n",
       "    }\n",
       "};\n",
       "                chart_02b58762e3dd4ca0b28565ae5ed1ffb7.setOption(option_02b58762e3dd4ca0b28565ae5ed1ffb7);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x22aa9aa6430>"
      ]
     },
     "execution_count": 26,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Bar\n",
    "\n",
    "def bar_base() -> Bar:\n",
    "    CO = (\n",
    "        Bar()\n",
    "        .add_xaxis(JY)\n",
    "        .add_yaxis(\"全国\",j全国)\n",
    "        .add_yaxis(\"农村\",j农村)\n",
    "        .add_yaxis(\"城镇\",j城镇)\n",
    "        .add_yaxis(\"东部\",j东部)\n",
    "        .add_yaxis(\"东北部\",j东北部)\n",
    "        .add_yaxis(\"中部\",j中部)\n",
    "        .add_yaxis(\"西部\",j西部)\n",
    "        .set_global_opts(\n",
    "            title_opts=opts.TitleOpts(title=\"学科类校外培训参与率\",subtitle=\"全国中小学生（%）\"),\n",
    "            toolbox_opts=opts.ToolboxOpts(),\n",
    "            \n",
    "            datazoom_opts=opts.DataZoomOpts(),\n",
    "            )\n",
    "        .set_series_opts(\n",
    "            label_opts=opts.LabelOpts(is_show=False),\n",
    "            \n",
    "            )\n",
    "            \n",
    "        \n",
    "    )\n",
    "    return CO\n",
    "bar_base().render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "综合全国来看，无论是农村还是城市，每个求学阶段都有校外培训的需求，但是校外培训参与率有所不同。其中，校外培训参与率随着教学阶段的递进有一定程度的上涨，城市的上涨幅度比农村的上涨幅度更高，校外培训的需求增长更快，同时在每一个求学阶段，城市的校外培训需求都比农村要高。按照地区划分来看，东北部地区的校外培训参与率在每个求学阶段都比东部、中部、西部地区大幅领先。同时东北部地区也是教育经费投入较多，居民收入较多的地区。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 总结\n",
    "教育经费多的地区，往往是经济发达，居民人均可支配收入高的地区，这部分地区的义务教育完善，同时由于收入水平的增加，促生了更多的差异化教育需求。随着义务教育的普及，家庭教育支出支出在一定程度上呈现出减少并且趋同的现象。但是，正是因为免费的义务教育不断推行完善，公办学校所提供的义务教务内容和素质教育趋向相同。然而，对于不同家庭来说，特别是对于收入较高且可支配收入较高的家庭来说，这类家庭更倾向于谋求差异化的教育。因为逐渐趋同的义务教育的公立学校更加偏向于提供标准化、规范化的教育而，无法满足这类高收入家庭的对于教育质量的要求。从而这部分家长会选择将孩子送到课外补习班去进一步学习，追求差异化的教学。收入差距越大，不同收入水平的家庭对教育需求的差异就越大。这也进一步的导致了教育资源的分化。由此可以说明收入与教育需求是一个正相关的关系，收入越高，就会想要谋求更好的教育，去追求差异化的教育，为下一代提供更好的教育，以此来获得更高的社会成就或社会地位。\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  },
  "latex_envs": {
   "LaTeX_envs_menu_present": true,
   "autoclose": false,
   "autocomplete": true,
   "bibliofile": "biblio.bib",
   "cite_by": "apalike",
   "current_citInitial": 1,
   "eqLabelWithNumbers": true,
   "eqNumInitial": 1,
   "hotkeys": {
    "equation": "Ctrl-E",
    "itemize": "Ctrl-I"
   },
   "labels_anchors": false,
   "latex_user_defs": false,
   "report_style_numbering": false,
   "user_envs_cfg": false
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {},
   "toc_section_display": true,
   "toc_window_display": false
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
